﻿@import url('https://fonts.googleapis.com/css2?family=Poppins');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #56c2bc 0%, #182a53 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

a {
    text-decoration: none;
    color: #dd037f;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.login-header {
    background: white;
    color: #374151;
    text-align: center;
    padding: 24px;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

    .login-header::before {
        content: '';
        position: absolute;
        top: -50px;
        left: -50px;
        width: 100px;
        height: 100px;
        background: rgba(59, 130, 246, 0.05);
        border-radius: 50%;
    }

    .login-header::after {
        content: '';
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 60px;
        height: 60px;
        background: rgba(59, 130, 246, 0.05);
        border-radius: 50%;
    }

.login-logo {
    width: 100%;
    max-width: 200px;
    height:75px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

    /* For image logos */
    .login-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.login-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    color: #374151;
}

.login-subtitle {
    font-size: 14px;
    color: #6b7280;
    position: relative;
    z-index: 1;
}

.login-form {
    padding: 32px 24px 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    background: #f9fafb;
}

    .form-input:focus {
        outline: none;
        border-color: #3b82f6;
        background: white;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

/*    .form-input:invalid {
        border-color: #ef4444;
    }*/

.remember-forgot {
    display: flex;
    justify-content: right;
    align-items: center;
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .remember-me input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #3b82f6;
    }

    .remember-me label {
        font-size: 14px;
        color: #6b7280;
        cursor: pointer;
    }

.forgot-password {
    /*color: #3b82f6;*/
    /*text-decoration: none;*/
    font-size: 14px;
    font-weight: 500;
}

/*    .forgot-password:hover {
        text-decoration: underline;
    }*/

.login-button {
    width: 100%;
    padding: 14px;
    /*background: linear-gradient(135deg, #56c2bc 0%, #182a53 100%); */
    background-color: #56c2bc; 
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

    .login-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    }

    .login-button:active {
        transform: translateY(0);
    }

    .login-button:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-message {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
    display: none;
}

.login-footer {
    background: #f8fafc;
    text-align: center;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
}

.footer-text {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.support-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

    .support-link:hover {
        text-decoration: underline;
    }


.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    color: #dd037f;
}

    .validation-summary-errors ul {
        padding-left: 35px;
    }


.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #6b7280;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

    .password-toggle:hover {
        color: #374151;
    }

    .password-toggle:focus {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
    }


    @media (max-width: 480px) {
        .login-container {
        border-radius: 0;
        height: 100vh;
        max-width: none;
        display: flex;
        flex-direction: column;
    }

    .login-form {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
