/* Sell With Us Popup Styles */
.sell-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sell-popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.sell-popup {
    background-color: #141920;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 0;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.sell-popup-overlay.active .sell-popup {
    transform: scale(1);
}

.sell-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: #D4AF37;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.sell-popup-close:hover {
    background-color: #E5C76B;
    transform: scale(1.1);
}

.sell-popup-close svg {
    width: 20px;
    height: 20px;
}

.sell-popup-content {
    padding: 2rem 2rem;
}

.sell-popup-title {
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    text-align: center;
}

.sell-popup-subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.sell-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sell-form-group {
    margin-bottom: 1rem;
}

.sell-form-group.full-width {
    grid-column: 1 / -1;
}

.sell-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.sell-form-input,
.sell-form-textarea,
.sell-form-select {
    width: 100%;
    padding: 0.9rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 300;
    font-family: 'Raleway', sans-serif;
    transition: all 0.3s ease;
}

.sell-form-input:focus,
.sell-form-textarea:focus,
.sell-form-select:focus {
    outline: none;
    border-color: #D4AF37;
    background-color: rgba(255, 255, 255, 0.08);
}

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

.sell-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.sell-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.sell-form-select option {
    background-color: #141920;
    color: #FFFFFF;
}

.sell-form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #D4AF37;
    color: #1A1A1A;
    border: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    margin-top: 1rem;
}

.sell-form-submit:hover {
    background-color: #E5C76B;
}

.sell-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sell-form-message {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    border-radius: 4px;
    display: none;
}

.sell-form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.sell-form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.sell-thank-you-screen {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.sell-thank-you-screen.active {
    display: block;
}

.sell-thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background-color: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-thank-you-icon svg {
    width: 40px;
    height: 40px;
}

.sell-thank-you-title {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.sell-thank-you-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.sell-thank-you-close {
    padding: 1rem 2rem;
    background-color: #D4AF37;
    color: #1A1A1A;
    border: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.sell-thank-you-close:hover {
    background-color: #E5C76B;
}

@media (max-width: 768px) {
    .sell-popup-content {
        padding: 2rem 1.5rem;
    }

    .sell-popup-title {
        font-size: 1.3rem;
    }

    .sell-popup-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }

    .sell-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
