.create-ad-section {
    padding: 2rem 0;
}

.create-ad-form {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.create-ad-form h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    text-align: right;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control::placeholder{
    color: #999;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(65, 86, 120, 0.25);
}

textarea.form-control {
    resize: none;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #34495e;
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: white;
    text-decoration: none;
}

.image-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.image-upload-area:hover {
    border-color: var(--primary);
    background-color: #f8f9fa;
}

.image-upload-area.has-image {
    border: none;
    padding: 0;
}

.image-upload-area img {
    width: 100%;
    border-radius: 8px;
    display: none;
}

.image-upload-area.has-image img {
    display: block;
}

.image-upload-area.has-image .upload-placeholder {
    display: none;
}

.upload-placeholder {
    color: #666;
}

.upload-placeholder i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.image-upload-input {
    display: none;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ddd;
    border-radius: 8px;
    height: auto;
    padding: 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary);
}

.select2-dropdown {
    border: 1px solid #ddd;
    border-radius: 8px;
}

.select2-results__option {
    padding: 0.5rem;
}

.select2-results__option--highlighted {
    background-color: var(--primary);
}

/* Tips & Info Cards */
.tips-card,
.info-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tips-card h3,
.info-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

.tips-list li i {
    color: var(--accent-blue);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.info-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   TABLET STYLES (768px - 991px)
   ============================================ */
@media (min-width: 768px) {
    .create-ad-section {
        padding: 2.5rem 0;
    }
    
    .create-ad-form {
        padding: 2rem;
    }
    
    .create-ad-form h2 {
        font-size: 1.6rem;
    }
    
    .image-upload-area {
        padding: 3rem 2rem;
    }
    
    .btn-primary {
        padding: 0.85rem 2.5rem;
    }
    
    .btn-secondary {
        padding: 0.85rem 2rem;
    }
    
    .tips-card {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .tips-card h3 {
        width: 100%;
    }
    
    .tips-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 2rem;
    }
    
    .tips-list li {
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   DESKTOP STYLES (992px+)
   ============================================ */
@media (min-width: 992px) {
    .create-ad-section {
        padding: 3rem 0;
    }
    
    .create-ad-form {
        border-radius: 12px;
        padding: 2rem;
    }
    
    .create-ad-form h2 {
        font-size: 1.5rem;
    }
    
    .form-control {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
    
    .tips-card,
    .info-card {
        border-radius: 12px;
    }
    
    .tips-card {
        display: block;
    }
    
    .tips-list {
        display: block;
    }
    
    .tips-list li {
        flex: none;
        margin-bottom: 0.75rem;
    }
}

/* ============================================
   LARGE DESKTOP STYLES (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .create-ad-section {
        padding: 4rem 0;
    }
    
    .create-ad-form {
        padding: 2.5rem;
    }
    
    .create-ad-form h2 {
        font-size: 1.75rem;
    }
    
    .tips-card,
    .info-card {
        padding: 1.75rem;
    }
    
    .tips-card h3,
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .tips-list li {
        font-size: 0.95rem;
    }
    
    .info-card p {
        font-size: 0.95rem;
    }
}

.select2-container{
    width: 100% !important;
}

