You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

204 lines
3.9 KiB
CSS

body {
/*background: linear-gradient(135deg, #EDDECB 0%, #E1C6A8 100%);*/
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
background-color: #ead9cb;
}
.wave {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.3' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
background-size: cover;
background-repeat: no-repeat;
z-index: -1;
}
.login-container {
background-color: #ead9cb;
border-radius: 0.75rem;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
overflow: hidden;
max-width: 56rem;
width: 100%;
display: flex;
flex-direction: column;
animation: fadeIn 0.8s ease-in-out;
margin: 2rem; /* Add margin to see the background */
}
@media (min-width: 768px) {
.login-container {
flex-direction: row;
}
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
.login-form-section {
width: 100%;
padding: 2rem;
}
@media (min-width: 768px) {
.login-form-section {
width: 50%;
}
}
.info-section {
width: 100%;
background: linear-gradient(to bottom right, #EDDECB, #E1C6A8);
padding: 2rem;
color: white;
display: flex;
flex-direction: column;
justify-content: space-between;
}
@media (min-width: 768px) {
.info-section {
width: 50%;
}
}
h1 {
font-size: 1.875rem;
font-weight: bold;
color: #1f2937;
margin-bottom: 0.5rem;
}
.subtitle {
color: #4b5563;
margin-top: 0.5rem;
}
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
font-size: 0.875rem;
font-weight: 500;
color: #374151;
margin-bottom: 0.25rem;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 0.5rem 1rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
outline: none;
box-sizing: border-box;
}
input[type="text"]:focus,
input[type="password"]:focus {
border-color: #E1C6A8;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.remember-forgot {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.remember-me {
display: flex;
align-items: center;
}
.remember-me input {
margin-right: 0.5rem;
}
.forgot-password {
color: #E1C6A8;
text-decoration: none;
font-size: 0.875rem;
}
.forgot-password:hover {
color: #E1C6A8;
}
.submit-button {
width: 100%;
background-color: #E1C6A8;
color: white;
padding: 0.5rem 1rem;
border: none;
border-radius: 0.375rem;
cursor: pointer;
transition: background-color 0.2s;
}
.submit-button:hover {
background-color: #E1C6A8;
}
.feature-item {
display: flex;
align-items: flex-start;
margin-bottom: 1rem;
}
.feature-icon {
background-color: rgba(37, 99, 235, 0.5);
padding: 0.5rem;
border-radius: 9999px;
margin-right: 0.75rem;
}
.feature-text {
color: rgba(219, 234, 254, 0.9);
font-size: 0.875rem;
}
.version-info {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 2rem;
font-size: 0.875rem;
}
#loginMessage {
text-align: center;
margin-top: 1rem;
display: none;
}
#loginMessage.error {
color: #ef4444;
}
#loginMessage.success {
color: #10b981;
}
.icon {
width: 1.5rem;
height: 1.5rem;
}