/* Importing Google font - Open Sans */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

* {
    font-family: "Open Sans", sans-serif;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

.sell-container {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Form Styles */
.sell-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
}

.sell-form h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Input Styles */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.fancy-input {
    width: calc(100% - 32px);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.fancy-input:focus {
    border-color: #00bcd4;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

/* Upload Area */
.upload-area {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 37px;
}

.upload-preview {
    width: 100%;
    max-width: 300px;
    min-height: 200px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-preview img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* Buttons */
.upload-btn, .submit-btn {
    background: #00bcd4;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.upload-btn:hover, .submit-btn:hover {
    background: #0097a7;
    transform: translateY(-2px);
}

/* Loading States */
.submit-btn.loading {
    background: #008394;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn.loading .button-text {
    opacity: 1;
}

/* Radio Buttons */
.category-buttons, .condition-buttons {
    display: flex;
    gap: 10px;
}

.category-buttons input[type="radio"],
.condition-buttons input[type="radio"] {
    display: none;
}

.category-label, .condition-label {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-buttons input[type="radio"]:checked + .category-label,
.condition-buttons input[type="radio"]:checked + .condition-label {
    background: #00bcd4;
    border-color: #00bcd4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-layout {
        grid-template-columns: 1fr;
    }
    
    .category-buttons, .condition-buttons {
        flex-wrap: wrap;
    }
}
