@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
}

.left-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right-section {
    width: 370px;
    height: 800px;
    background-color: #6b896d;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    overflow: hidden;
    margin-left: auto;
    position: relative;
    z-index: 10;
}

.form-wrapper {
    width: 100%;
    padding: 30px 35px 10px 35px;
    display: flex;
    flex-direction: column;
}

.logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo img {
    width: 110px;
    height: auto;
}

.form-title {
    background-color: #000000;
    color: #ffffff;
    text-align: left;
    padding: 15px 35px 15px 15px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: -35px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0 12px 15px;
    border: none;
    border-bottom: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ffffff;
    opacity: 1;
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 1px solid #ffffff;
    background-color: transparent;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.checkbox-group {
    margin-bottom: 12px;
    padding-left: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: #ffffff;
    font-size: 10px;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    min-width: 16px;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    margin-top: 3px;
    cursor: pointer;
    border: 2px solid #ffffff;
    background-color: transparent;
}

.checkbox-text {
    flex: 1;
    font-weight: 300;
}

.submit-btn {
    width: calc(100% - 15px);
    padding: 12px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    margin-bottom: 0;
    margin-left: 15px;
    font-weight: 400;
}

.submit-btn:hover {
    background-color: #333333;
}

.submit-btn:active {
    transform: scale(0.98);
}

.bottom-logo {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
}

.bottom-logo img {
    width: 75px;
    height: auto;
}

.form-message {
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 13px;
    display: none;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #ffffff;
    border: 1px solid #4CAF50;
    display: block;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #ffffff;
    border: 1px solid #f44336;
    display: block;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #6b896d;
    color: #fff;
    font-size: 32px;
    line-height: 64px;
    margin: 0 auto 20px;
}

.modal-title {
    font-size: 22px;
    color: #333;
    margin: 0 0 10px;
}

.modal-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.6;
}

.modal-close-btn {
    background: #6b896d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
}

.modal-close-btn:hover {
    background: #5a7560;
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        overflow: auto;
        height: auto;
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .left-section {
        position: relative;
        height: 50vh;
    }

    .right-section {
        width: 100%;
        height: auto;
        max-height: none;
        margin-left: 0;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 20px 25px 10px 25px;
    }

    .logo img {
        width: 100px;
    }

    .form-title {
        font-size: 12px;
        padding: 12px 25px;
        margin-left: -25px;
        margin-right: -25px;
    }

    .checkbox-label {
        font-size: 10px;
    }
}

/* Custom Scrollbar for Right Section */
.right-section::-webkit-scrollbar {
    width: 8px;
}

.right-section::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.right-section::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.right-section::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}
