
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a{
    text-decoration: none;
    color: unset;
}
:root {
    --main-color: #f5d422;
    --second-color: #63656a;
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --success: #4cc9f0;
    --danger: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(90deg, #f5d422, #7c7d81c7);
}

body {
    background: linear-gradient(135deg, #ffffff 0%, #818181 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    min-height: 500px;
    display: flex;
}

.welcome-section {
    flex: 1;
    background: linear-gradient(135deg,var(--main-color) 0%, #474747 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-section h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.welcome-section p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-container {
    width: 100%;
}

.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #777;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab.active {
    color: #aeb3bd;
    border-bottom: 3px solid #f9fafc;
}


.form.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #415880;
    outline: none;
}

.forgot-password {
    text-align: left;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #ff0000;
    text-decoration: none;
    font-size: 14px;
}

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

.submit-btn {
    background: var(--gradient);
    color: rgb(255, 247, 247);
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s;
}

#forgotPasswordModal{
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    background: white;
    padding: 20px;
    min-height: 400px;
    justify-content: center;
    align-items: center;
    box-shadow: -7px 8px 34px -8px rgba(0,0,0,0.75);
    -webkit-box-shadow: -7px 8px 34px -8px rgba(0,0,0,0.75);
    -moz-box-shadow: -7px 8px 34px -8px rgba(0,0,0,0.75);
    border-radius: 29px;
    min-width: 400px;
}
#forgotPasswordModal .modal-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#verifyCodeModal{
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    background: white;
    padding: 20px;
    min-height: 400px;
    justify-content: center;
    align-items: center;
    box-shadow: -7px 8px 34px -8px rgba(0,0,0,0.75);
    -webkit-box-shadow: -7px 8px 34px -8px rgba(0,0,0,0.75);
    -moz-box-shadow: -7px 8px 34px -8px rgba(0,0,0,0.75);
    border-radius: 29px;
    min-width: 400px;
}
#verifyCodeModal .modal-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.social-login {
    margin-top: 25px;
    text-align: center;
}

.social-login p {
    color: #777;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #eee;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .welcome-section {
        padding: 30px;
    }
    
    .form-section {
        padding: 30px;
    }
}
.error-message {
    background: #ffe6e6;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error-message p {
    margin-bottom: 5px;
}

.error-message p:last-child {
    margin-bottom: 0;
}

.success-message {
    background: #e8f5e8;
    border: 1px solid #28a745;
    color: #28a745;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-link{
    text-decoration: none;
    color: #901515;
}
.form-link:hover{
    color: #e00000;
}
.sidebar-logo{
    position: absolute;
    top: 0;
    left: 0;
    /* padding: 25px 25px; */
    border-bottom: 0px solid #e1e1e1;
    display: flex;
    align-items: center;
    gap: 15px;
}
.sidebar-logo i {
    font-size: 2.5rem;
    color:  var(--main-color);
}