﻿@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

ul {
    list-style: none;
    padding: 0;
}
ul li {
    margin-bottom: 10px;
    text-align:center;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.page-btn {
    display: block;
    padding: 10px 30px;
    background: linear-gradient(to right, #205405, #b39d06);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.text-danger
{
    color: #dc2626;
    font-size: 14px;
    margin-top: 5px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 0 8px rgba(0, 128, 0, 0.1);
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
}

.login-container {
    display: flex;
    width: 900px;
    height: 650px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #238f23, #006400);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .left-panel::before {
        content: '';
        position: absolute;
        top: -70px;
        right: -70px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

    .left-panel::after {
        content: '';
        position: absolute;
        bottom: -70px;
        left: -70px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

    .left-panel h2 {
        font-size: 28px;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }

    .left-panel p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
        position: relative;
        z-index: 1;
    }

.features {
    list-style: none;
    position: relative;
    z-index: 1;
}

    .features li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .features i {
        margin-right: 10px;
        font-size: 18px;
    }

.right-panel {
    flex: 1;
    background: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

    .logo h1 {
        color: #006400;
        font-size: 28px;
        font-weight: 700;
    }

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .form-header h2 {
        font-size: 24px;
        color: #555;
        margin-bottom: 10px;
    }

    .form-header p {
        color: #6b7280;
        font-size: 15px;
    }

.input-group {
    margin-bottom: 20px;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        color: #374151;
        font-weight: 500;
        font-size: 14px;
    }

.input-field {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    height: 46px;
}

    .input-field:focus {
        outline: none;
        border-color: #238f23;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    }

.password-toggle {
    position: relative;
}

.toggle-icon {
    position: absolute;
    right: 15px;
    top: 16px;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
}

    .remember input {
        margin-right: 8px;
    }

.forgot-password {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.login-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

    .login-btn:hover {
        background: #4338ca;
    }

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #e5e7eb;
    }

    .divider span {
        background: white;
        padding: 0 15px;
        color: #6b7280;
        font-size: 14px;
        position: relative;
    }

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
}

    .register-link a {
        color: #4f46e5;
        text-decoration: none;
        font-weight: 500;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.reg-right-panel {
    flex: 1;
    background: white;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    padding-top: 250px;
}


/*   registration*/
.registration-container {
    display: flex;
    width: 900px;
    height: 650px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.terms {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    font-size: 14px;
}

    .terms input {
        margin-top: 4px;
        margin-right: 10px;
    }

    .terms label {
        color: #6b7280;
        line-height: 1.5;
    }

    .terms a {
        color: #4f46e5;
        text-decoration: none;
    }

        .terms a:hover {
            text-decoration: underline;
        }

.password-toggle {
    position: relative;
}

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        max-width: 500px;
    }

    .left-panel {
        padding: 30px;
        order: 2;
    }

    .right-panel {
        padding: 30px;
        order: 1;
    }

    .registration-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        max-width: 500px;
        box-shadow: none;
    }

    .reg-right-panel {
        flex: 1;
        background: white;
        padding: 20px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
        padding-top: 30px;
    }

    .success-content h2 {
        font-size: 20px;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #238f23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: scaleUp 0.5s ease-in-out;
}

    .success-icon i {
        font-size: 40px;
        color: white;
    }

.success-content h2 {
    font-size: 24px;
    color: #238f23;
    margin-bottom: 30px;
    text-align: center;
}

.bg-danger {
    background-color: #dc2626 !important;
}

.success-content p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 50px;
    text-align: center;
}

.next-steps {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
    width: 100%;
}

    .next-steps h3 {
        font-size: 18px;
        color: #374151;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

        .next-steps h3 i {
            color: #4f46e5;
            margin-right: 10px;
        }

    .next-steps ol {
        padding-left: 20px;
        color: #6b7280;
    }

    .next-steps li {
        margin-bottom: 10px;
        line-height: 1.5;
    }

.email-note {
    margin-top: 25px;
    padding: 15px;
    background: #fffbeb;
    border-radius: 8px;
    color: #92400e;
    font-size: 14px;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

    .email-note i {
        color: #f59e0b;
        margin-right: 8px;
    }

.back-to-login a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}


.back-to-login i {
    margin-right: 8px;
}

