body {
    background: #090a0c;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
}

.contact {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 110px 24px 70px;
    background: linear-gradient(120deg, #15100a, #090a0c 55%, #1c1408);
}

.contact-shell {
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: flex-start;
}
.contact-copy{
    margin-top: 25%;
}
.contact-copy h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: .94;
    letter-spacing: -.045em;
    font-weight: 500;
}

.contact-copy p {
    color: #c9c4bb;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.55;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    font-size: 10px;
    letter-spacing: .08em;
    color: #e7c467;
}

.contact-form {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 30px;
    padding: 30px;
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
    width: 100%;
}

.contact-form label {
    display: block;
    font-size: 10px;
    letter-spacing: .12em;
    color: #f0d27a;
    margin: 16px 0 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font: inherit;
}

.contact-form input {
    width: 100%;
    height: 50px;
    padding: 18px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #111216;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, .4);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d3a94c;
    box-shadow: 0 0 0 2px rgba(211, 169, 76, .14);
}

.contact-form textarea {
    width: 100%;
    min-height: 128px;
    resize: vertical;
    padding: 18px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #111216;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
    box-sizing: border-box;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.phone-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}

/* Fixed Dropdown Overflow & Containment */
.iti {
    width: 100%;
}
.iti__country-container{
    pointer-events: none;
}
.iti input,
.iti input[type=tel] {
    width: 100%;
    height: 50px;
    padding: 18px 18px 18px 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #111216;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iti input::placeholder {
    color: rgba(255, 255, 255, .4);
}

.iti input:focus {
    outline: none;
    border-color: #d3a94c !important;
    box-shadow: 0 0 0 2px rgba(211, 169, 76, .14) !important;
}

.iti input.is-invalid {
    border-color: #ff5252 !important;
    box-shadow: 0 0 0 2px rgba(255, 82, 82, .2) !important;
}

.iti input.is-valid {
    border-color: #4caf50 !important;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, .14) !important;
}

.iti__dropdown-content {
    background: #16171d;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.iti__country-list {
    max-height: 180px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
}

.iti__country {
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    margin: 2px 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: rgba(211, 169, 76, .2);
    color: #f0d27a;
}

.iti__country-name {
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
}

.iti__dial-code {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.verify-btn {
    padding: 0 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: #f6f6f6;
    color: #111;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
    height: 50px;
    transition: all 0.2s ease;
    min-width: 120px;
}

.verify-btn:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.phone-status {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    transition: color 0.2s ease;
}

.phone-status.error {
    color: #ff7676;
}

.phone-status.success {
    color: #6bf09c;
}

/* --- CHECK TYPE TOGGLE SWITCH --- */
.toggle-box {
    margin: 20px 0 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toggle-title {
    font-size: 14px;
    font-weight: 700;
    color: #f0d27a;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.toggle-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.check-toggle {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    flex-shrink: 0;
}

.check-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #16171d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.check-toggle input:checked+.toggle-slider {
    background-color: #d3a94c;
    border-color: #f0d27a;
    box-shadow: 0 0 12px rgba(211, 169, 76, 0.3);
}

.check-toggle input:checked+.toggle-slider:before {
    transform: translateX(24px);
    background-color: #000;
}

/* Hidden Upload Container */
.seller-fields {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: rgba(211, 169, 76, 0.05);
    border: 1px dashed rgba(211, 169, 76, 0.3);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 16px;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seller-info-banner {
    font-size: 13px;
    color: #c9c4bb;
    line-height: 1.4;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.file-input-wrapper input[type="file"] {
    padding: 12px;
    height: auto;
    cursor: pointer;
    background: #16171d;
}

.file-input-wrapper input[type="file"]::file-selector-button {
    background: #d3a94c;
    border: none;
    color: #000;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 12px;
    transition: background 0.2s ease;
}

.file-input-wrapper input[type="file"]::file-selector-button:hover {
    background: #f0d27a;
}

.metal-button.submit {
    margin-top: 22px;
    width: 100%;
    border: 0;
    cursor: pointer;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #d3a94c, #f0d27a);
    color: #000;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

@media(max-width:760px) {

    .contact-shell,
    .grid2 {
        grid-template-columns: 1fr;
    }
    .contact-copy{
    margin-top: 0;
}

    .phone-row {
        flex-direction: column;
        gap: 8px;
    }

    .verify-btn {
        width: 100%;
    }

    .contact {
        padding: 100px 18px 50px;
    }
}

@media (max-width: 500px) {

    /* Common form/container styles */
    .contact-form {
        padding: 15px !important;
    }

    .contact-shell {
        width: 100% !important;
    }

    .form-field-group {
        margin-bottom: 12px !important;
    }

    /* Common buttons */
    .tab-btn {
        padding: 10px !important;
        font-size: 13px !important;
    }

    .action-btn,
    .metal-button.submit {
        height: 40px !important;
        padding: 10px !important;
        border-radius: 10px !important;
    }

    /* Common inputs */
    .action-row input[type="email"],
    .action-row input[type="text"],
    .form-field-group input[type="email"],
    .form-field-group input[type="text"],
    .iti input,
    .iti input[type="tel"] {
        height: 40px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    /* Labels */
    .form-field-group label {
        font-size: 11px !important;
    }

    /* Textarea */
    .contact-form textarea {
        font-size: 13px !important;
    }

    /* Contact content */
    .contact-copy h1 {
        font-size: 30px !important;
    }

    .contact-copy p {
        line-height: 1.3 !important;
        font-size: 13px !important;
    }
}