/* Create Ad Page - Modern Design */
.create-ad-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.form-wizard {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.wizard-header {
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.wizard-header h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
}

.wizard-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.wizard-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0 0 0;
    padding: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    transition: all 0.3s ease;
}

.step.active {
    color: white;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: white;
    color: #007AFF;
    transform: scale(1.1);
}

.form-section {
    padding: 40px;
    border-bottom: 1px solid #f1f3f4;
}

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

.section-title {
    color: #1e3c72;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    border-color: #007AFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,122,255,0.15);
}

.category-card.selected {
    border-color: #007AFF;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,122,255,0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #007AFF;
    transition: all 0.3s ease;
}

.category-card.selected .category-icon {
    color: white;
    transform: scale(1.1);
}

.category-card h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.category-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.category-card.selected h4,
.category-card.selected p {
    color: white;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #007AFF, #0056CC);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,122,255,0.4);
    background: linear-gradient(135deg, #0056CC, #007AFF);
}

.alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    margin: 20px 0;
}

.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .wizard-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .category-selector {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-section {
        padding: 25px;
    }
    
    .wizard-header {
        padding: 25px;
    }
    
    .wizard-header h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .create-ad-page {
        padding: 10px 0;
    }
    
    .form-wizard {
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .form-section {
        padding: 20px;
    }
}
