/* register-section.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.register-section {
    display: none;
}

.main-registration-container {
    display: flex;
    justify-content: space-between !important;
}

.image-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/img/image11.png') no-repeat center center / cover fixed;
    border-radius: 0 0 0 15px;
}

/* .registration-property-image {
    width: 100%;
    background: #000;
    justify-content: center;
} */

.image-section img {
    /* height: 100vh; */
    width: 100%;
    max-width: 100%;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.form-section {
    flex: 1;
    background: white;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.form-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.logo-section {
    text-align: center;
    margin-bottom: 1rem;
}

.reg-logo {
    height: auto;
    width: 60px;
    margin: 0 auto 1rem;
    /* background-size: cover; */

}



.tab-buttons {
    display: flex;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #666;
    padding: 5px;
}

.tab-btn {
    flex: 1;
    padding: 9px 10px;
    border: none;
    background: #f8f9fa;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.tab-btn.active {
    background: #ff5722;
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #ff5722;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.password-input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
}

.password-toggle:hover {
    color: #ff5722;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 1.5rem 0;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #ff5722;
}

.checkbox-label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    flex: 1;
}

.checkbox-label a {
    color: #ff5722;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #16213e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.login-link a {
    color: #ff5722;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {

    .form-section {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .tab-btn {
        /* padding: 9px 10px; */
        font-size: 0.8rem !important;
        border-radius: 8px;
    }

}


@media (max-width: 716px) {
    .main-registration-container {
        flex-direction: column;
    }
}


@media (max-width: 576px) {
    /* .registration-container {
        flex-direction: column;
    } */


    .form-container {
        padding: 1rem;
    

    .form-control {
        padding: 10px 14px;
    }

    .image-section {
        height: 150px;
    }

    .property-image {
        height: 150px;
    }
}

/* Animation Effects */
.form-container {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}}