﻿/*-----------Login-message----------------*/
/*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
    */
.login-section {
    max-height: 0;
    overflow: hidden;
    background: #f4f4f4;
    padding: 0 20px;
    margin-top: 0;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
}
    .login-section.open {
        max-height: 100em; /* Adjust as needed */
        padding: 20px;
    }
.page-content-login {
}
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    background: #f4f4f4;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.login-header {
    padding: 30px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

    .login-header h1 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .login-header p {
        font-size: 16px;
        opacity: 0.85;
    }

.login-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 15px;
        font-weight: 500;
        color: #4a5568;
    }

    .form-group input {
        width: 100%;
        padding: 15px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s;
    }

        .form-group input:focus {
            outline: none;
            border-color: #4a89dc;
            box-shadow: 0 0 0 3px rgba(74, 137, 220, 0.15);
        }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        margin-right: 8px;
    }

.forgot-password {
    color: #4a89dc;
    text-decoration: none;
    font-size: 15px;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.login-button {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .login-button:hover {
        /*background-color: lighten(var(--primary-color), 10%);*/
        filter: brightness(1.1); /* 10% brighter */
    }

.login-footer {
    text-align: center;
    margin-top: 24px;
    color: #718096;
}

.signup-link {
    color: #4a89dc;
    text-decoration: none;
    font-weight: 600;
}

    .signup-link:hover {
        text-decoration: underline;
    }

.social-login {
    margin-top: 30px;
    text-align: center;
}

    .social-login p {
        position: relative;
        margin-bottom: 20px;
        color: #718096;
    }

        .social-login p::before,
        .social-login p::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 35%;
            height: 1px;
            background-color: #e2e8f0;
        }

        .social-login p::before {
            left: 0;
        }

        .social-login p::after {
            right: 0;
        }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}

    .social-icon:hover {
        background-color: #f1f5f9;
        transform: translateY(-3px);
    }

/* Error state */
.form-group.error input {
    border-color: #e53e3e;
}

.error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}
/*-----------End success-message----------------*/

/*-----------success-message----------------*/
.success-message {
    max-height: 0; /* Initially hidden */
    overflow: hidden;
    background: #f4f4f4;
    padding: 0 20px;
    margin-top: 0;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
    text-align: center;
    position: absolute;
    top: 10%;
    left: 10%;
    z-index: 99;
    width: 80%;
    height: 50vh;
    border-radius: 10px;

}
    .success-message.open {
        max-height: 100em; /* Adjust as needed */
        padding: 20px;
    }
.success-messageL {
    max-height: 0; /* Initially hidden */
    overflow: hidden;
    background: #ffffff;
    padding: 0 20px;
    margin-top: 0;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
    text-align: center;
    position: absolute;
    top: 10%;
    left: 25%;
    z-index: 99;
    width: 50%;
    height: 50vh;
    border-radius: 10px;
}
.success-messageL.open {
    max-height: 100em; /* Adjust as needed */
    padding: 20px;
}

    


    .success-message.show {
        opacity: 1;
        transform: scale(1);
        visibility: visible;
        max-height: 100em; /* Adjust as needed */
        padding: 20px;
    }

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .success-icon svg {
        color: #10b981;
    }

.success-message h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
}

.success-message p {
    color: #666;
    margin-bottom: 25px;
}

.success-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .success-button:hover {
        background-color: #0d9668;
    }
/*-----------success-message End----------------*/



/*-----------Login slider start----------------*/
.login-slider {
    max-height: 0; /* Initially hidden */
    overflow: hidden;
    background: #f4f4f4;
    padding: 0 20px;
    margin-top: 0;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
}

    .login-slider.open {
        max-height: 100em; /* Adjust as needed */
        padding: 20px;
    }

.login-btn {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.registerCloseBut {
    position: absolute;
    cursor: pointer;
    color: white;
    top: 10px;
    right: 1em;
    font-size: large;
}

    .loginCloseBut:hover {
        color: red;
    }


.loginCloseBut {
    position: absolute;
    cursor: pointer;
    color: white;
    top: 10px;
    right: 1em;
    font-size:large;
}
/*-----------Login slider end----------------*/