/* Advertisements/Banners Page Styles */

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.banner-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    text-align: center;
}

/* Card Title */
.panel-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.panel-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Form Fields */
.form-group {
    margin-bottom: 25px;
    text-align: right;
}

.form-label {
    display: block;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    appearance: none;
    text-align: right;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px;
    padding-left: 40px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Image Upload */
.image-preview {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-preview:hover {
    border-color: #3498db;
    background-color: #f0f8ff;
}

.image-preview i {
    font-size: 3rem;
    color: #bdc3c7;
    margin-bottom: 10px;
}

.preview-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Button */
.btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Drop region active state */
.drop-active {
    border-color: #3498db;
    background-color: #f0f8ff;
}

/* Footer area */
.page-footer {
    height: 50px;
    background-color: #2c3e50;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .banner-card {
        padding: 30px 25px;
        max-width: 100%;
    }
    
    .panel-title {
        font-size: 1.6rem;
    }
    
    .panel-subtitle {
        font-size: 0.9rem;
    }
    
    .image-preview {
        height: 160px;
    }
    
    .image-preview i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .banner-card {
        padding: 20px;
    }
    
    .panel-title {
        font-size: 1.4rem;
    }
    
    .image-preview {
        height: 140px;
    }
    
    .image-preview i {
        font-size: 2rem;
    }
}
