@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../assets/images/login_bg.png");
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.container .card {
    width: 1000px;
    max-width: 95%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.container .card .form {
    width: 100%;
    height: 100%;
    display: flex;
}

/* Left side styling */
.container .card .left-side {
    width: 35%;
    background: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.left-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../assets/images/pattern.png");
    opacity: 0.1;
}

.left-heading {
    position: relative;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.left-heading h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.steps-content {
    position: relative;
    color: #fff;
    margin-top: 40px;
}

.steps-content h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.steps-content p {
    font-size: 0.9em;
    opacity: 0.9;
    line-height: 1.6;
}

/* Progress bar styling */
.progress-bar {
    position: relative;
    list-style: none;
    margin-top: 40px;
    padding: 0;
}

.progress-bar li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.progress-bar li::before {
    content: counter(container);
    counter-increment: container;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-bar li::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    height: 40px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar li:last-child::after {
    display: none;
}

.progress-bar li.active {
    color: #fff;
}

.progress-bar li.active::before {
    background: #fff;
    color: #800000;
    border-color: #fff;
}

/* Right side styling */
.container .card .right-side {
    width: 65%;
    padding: 40px;
    background: #fff;
}

.main {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.main.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.main small {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(128, 0, 0, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.main small img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.text {
    margin-bottom: 30px;
}

.text h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.text p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Form elements styling */
.input-text {
    margin-bottom: 25px;
}

.input-div {
    position: relative;
    margin-bottom: 20px;
}

.input-div label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9em;
    font-weight: 500;
}

.input-div input,
.input-div select {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
}

.input-div input:focus,
.input-div select:focus {
    border-color: #800000;
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.1);
}

.input-div input::placeholder {
    color: #999;
}

/* Button styling */
.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.buttons button {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back_button {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.back_button:hover {
    background: #eee;
}

.next_button,
.submit_button {
    background: #800000;
    color: #fff;
    border: none;
}

.next_button:hover,
.submit_button:hover {
    background: #600000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.2);
}

/* Success animation */
.checkmark__circle {
    stroke: #800000;
}

.checkmark {
    margin: 0 auto 30px;
}

.checkmark__check {
    stroke: #fff;
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #800000;
    }
}

/* Warning state */
.warning {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

/* Data privacy section */
.data-privacy {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.data-privacy p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.data-privacy .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.data-privacy .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.data-privacy .checkbox label {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}

/* Password requirements */
.password-requirements {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.requirement {
    font-size: 0.8em;
    color: #666;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.requirement.met {
    color: #198754;
}

.requirement.met::before {
    content: '✓';
    color: #198754;
}

.requirement:not(.met)::before {
    content: '•';
    color: #666;
}

/* Responsive design */
@media (max-width: 991px) {
    .container .card .form {
        flex-direction: column;
    }
    
    .container .card .left-side,
    .container .card .right-side {
        width: 100%;
    }
    
    .container .card .left-side {
        padding: 30px;
        border-radius: 20px 20px 0 0;
    }
    
    .progress-bar {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }
    
    .progress-bar li {
        flex: 1;
        padding: 0;
        text-align: center;
        font-size: 0.8em;
    }
    
    .progress-bar li::before {
        position: relative;
        transform: none;
        margin: 0 auto 10px;
    }
    
    .progress-bar li::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
    }
    
    .container .card {
        border-radius: 15px;
    }
    
    .container .card .right-side {
        padding: 20px;
    }
    
    .input-text {
        flex-direction: column;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    .buttons button {
        width: 100%;
    }
    
    .text h2 {
        font-size: 1.5em;
    }
}