@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fa;
    color: #344054;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    width: 400px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    padding: 20px 0;
    text-align: center;
    background-color: #f9fbfc;
    border-bottom: 1px solid #eaeef3;
}

.logo-image {
    width: 280px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.tagline {
    font-family: 'Pacifico', cursive;
    font-size: 18px;
    color: #174D38;
    margin: 0;
    font-weight: normal;
}

.login-body {
    padding: 30px;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #174D38;
    margin-bottom: 5px;
    text-align: center;
}

.login-subtitle {
    font-size: 16px;
    color: #667085;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #344054;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border-radius: 8px;
    border: 1px solid #D0D5DD;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #174D38;
    box-shadow: 0 0 0 3px rgba(23, 77, 56, 0.15);
}

.input-with-icon input::placeholder {
    color: #a3a9b6;
}

.input-with-icon .fas {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
    font-size: 16px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
    cursor: pointer;
    font-size: 16px;
    left: auto !important;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #174D38;
}

.remember-me label {
    font-size: 14px;
    color: #344054;
}

.forgot-password {
    font-size: 14px;
    color: #174D38;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #174D38;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #123c2b;
}

.error-message {
    display: flex;
    align-items: center;
    background-color: #fef2f2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.error-message i {
    margin-right: 10px;
    font-size: 16px;
}

.login-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eaeef3;
    font-size: 14px;
    color: #667085;
}

.login-footer a {
    color: #174D38;
    font-weight: 600;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        width: 100%;
    }
    
    .login-body {
        padding: 20px;
    }
    
    .login-title {
        font-size: 24px;
    }
}