body {
    font-family: 'Roboto', sans-serif;
    background-color: #fcfcfc;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 80px;
    box-sizing: border-box;
    margin: 0;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.welcome-banner {
    /* Rectangle 2 */
    box-sizing: border-box;
    width: 383px;
    height: 64px;
    background: #F9F9F9;
    border: 1px solid #CCCCCC;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
    border-radius: 10px;

    /* Text styling */
    font-family: 'Roboto Flex', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    text-align: center;
    color: #676060;
    opacity: 0.8;

    /* Centering text */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.login-card {
    /* Rectangle 3 */
    width: 382px;
    /* height: 422px;  Let content define height, but min-height can be set if needed */
    min-height: 422px;
    background: #FFFFFF;
    /* Overriding to solid white for usability on white background */

    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 19px;

    padding: 40px;
    box-sizing: border-box;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    /* Removing previous border */
}

.login-title {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    color: #676060;
    margin-top: 0;
    margin-bottom: 30px;
    width: 100%;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    max-width: 306px;
    /* Matching input width from CSS */
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    /* Label style */
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.15px;
    color: #1E1E1E;
}

.form-group input {
    /* Input Field dimensions from CSS */
    width: 100%;
    height: 40px;
    /* Updated height */
    padding: 12px 16px;
    border: 1px solid #D9D9D9;
    /* Updated border color */
    border-radius: 8px;
    /* Updated border radius */
    box-sizing: border-box;

    /* Value style */
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #B3B3B3;
    /* Placeholder color */
}

.form-group input::placeholder {
    color: #B3B3B3;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #0FD7CF;
    box-shadow: 0 0 0 3px rgba(15, 215, 207, 0.1);
}

.form-group input.error {
    border-color: #f44336;
}

.form-group input.error:focus {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.error-text {
    display: block;
    color: #f44336;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    font-family: 'Inter', sans-serif;
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

.message.warning {
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ffb74d;
}

.login-btn {
    /* Enhanced button styling */
    width: 100%;
    max-width: 400px;
    height: 56px;
    background: linear-gradient(135deg, #0FD7CF 0%, #83F07B 100%);
    box-shadow: 0px 4px 12px rgba(15, 215, 207, 0.3);
    border-radius: 12px;
    border: none;

    /* Text styling */
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(15, 215, 207, 0.4);
    background: linear-gradient(135deg, #0BE5DD 0%, #8BF583 100%);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0px 2px 8px rgba(15, 215, 207, 0.3);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-small {
    height: 36px;
    font-size: 14px;
    padding: 0 16px;
    width: auto;
    display: inline-flex;
    margin-top: 8px;
    box-shadow: none;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    height: 56px;
    margin-top: 0px;
    margin-bottom: 20px;

    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;

    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 23px;
    color: #3C4043;

    cursor: pointer;
    transition: all 0.3s ease;
}

.google-btn:hover {
    background: #F8F9FA;
    border-color: #D0D0D0;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.google-btn:active {
    transform: translateY(0);
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.google-btn img {
    width: 24px;
    height: 24px;
}

/* Checkbox styling */
.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0FD7CF;
}

.checkbox-label span {
    font-family: 'Inter', sans-serif;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 306px;
    margin-top: 10px;
}

.form-footer a {
    text-decoration: none;

    /* Get Account style */
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.15px;
    color: #1E1E1E;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo {
    width: 278px;
    height: auto;
}

/* Floating Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
    backdrop-filter: blur(8px);
    border: 1px solid;
}

.toast.toast-success {
    background: linear-gradient(135deg, #0FD7CF 0%, #83F07B 100%);
    border: none;
    color: #FFFFFF;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(15, 215, 207, 0.3);
}

.toast.toast-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.toast.toast-warning {
    background: #fffbeb;
    border-color: #fed7aa;
    color: #9a3412;
}

.toast.toast-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.toast.toast-loading {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.toast-body {
    flex: 1;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-left: 12px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.toast-loading .toast-body::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-top: 2px solid #374151;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}