/* Page-specific styles for sell.html */
.container {
    max-width: 900px;
}

/* Stripe Account Warning Banner */
.stripe-warning {
    display: none;
    background: #fffbeb;
    border: 1.5px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.stripe-warning.show {
    display: block;
}

.stripe-warning h3 {
    color: #92400e;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 600;
}

.stripe-warning p {
    color: #78350f;
    margin-bottom: 15px;
    font-size: 14px;
}

.stripe-warning-btn {
    background: #3665f3;
    color: white;
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.18s;
}

.stripe-warning-btn:hover {
    background: #2348c5;
    text-decoration: none;
}

.sell-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.form-section:last-child {
    border-bottom: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .sell-form {
        padding: 20px 16px;
    }
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #3665f3;
    background: #f0f4ff;
}

.upload-area.dragover {
    border-color: #3665f3;
    background: #e3f2fd;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #999;
}

.upload-text {
    font-size: 14px;
    color: #707070;
}

.file-input {
    display: none;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-image:hover {
    background: #e53238;
}

.price-input-group {
    position: relative;
}

.price-symbol {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.price-input {
    padding-left: 28px;
}

.submit-section {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.helper-text {
    font-size: 12px;
    color: #707070;
    margin-top: 5px;
}

.required {
    color: #e53238;
}

