/**
 * Page-Specific Styles
 * Styles for specific page types and functionality
 */

/* Registration Page Specific */
body.registration-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.registration-container {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.registration-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Success Page Specific */
body.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-container {
    padding: 50px 40px;
    text-align: center;
}

/* Dashboard Page Specific */
body.dashboard-page {
    color: #222;
}

/* Fan Upload Page Styles */
body.fan-upload-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

/* Fan Requests Page Styles */
body.fan-requests-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

/* Request Cards */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.request-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.request-header:hover {
    background: rgba(102, 126, 234, 0.05);
}

.request-info h3 {
    color: #333;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.fan-email {
    color: #666;
    font-size: 0.9rem;
}

.request-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.request-date {
    color: #888;
    font-size: 0.9rem;
}

.request-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expand-icon {
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.request-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.request-content {
    padding: 0 25px 25px;
    border-top: 1px solid #e0e0e0;
    animation: slideDown 0.3s ease-out;
}

.fan-request-section,
.champion-response-section,
.response-upload-section {
    margin-bottom: 25px;
}

.fan-request-section h4,
.champion-response-section h4,
.response-upload-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.request-question {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.request-question p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.request-video h5,
.response-video h5 {
    color: #555;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.video-player video,
.response-video video {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.champion-response-section {
    background: rgba(39, 174, 96, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.response-date {
    color: #27ae60;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.response-upload-section {
    background: rgba(102, 126, 234, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.response-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.response-form textarea {
    min-height: 80px;
    padding: 12px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
}

.response-form textarea:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.response-upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.response-upload-area.has-file {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.response-submit-btn {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.response-submit-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.response-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* No Requests State */
.no-requests {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-requests h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-requests p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Request Details and Preview */
.request-details,
.request-preview {
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.request-details h3,
.request-preview h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #666;
}

.detail-value {
    font-weight: 600;
    color: #333;
}

.request-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Media Carousel */
.media-carousel {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 15px;
    background: #f8f9fa;
}

.carousel-container {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
}

.carousel-item img,
.carousel-item video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-item:hover img,
.carousel-item:hover video {
    transform: scale(1.02);
}

.media-title {
    margin-top: 10px;
    font-weight: 500;
    color: #333;
}

/* Additional File Upload States */
.file-upload-container.uploading {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-upload-container.error {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.file-upload-container.success {
    border-color: #27ae60;
    background: #f1f8f1;
}

/* Share Section Styles */
.share-section {
    margin-top: 20px;
}

.share-links {
    margin-top: 20px;
}

/* Media Gallery Enhancement */
.media-gallery.empty {
    text-align: center;
    padding: 40px;
    color: #999;
    border: 2px dashed #ddd;
    border-radius: 10px;
}

.media-gallery.empty::before {
    content: "📷";
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

/* Upload Form Enhancements */
.upload-form .form-section {
    transition: all 0.3s ease;
}

.upload-form .form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.file-info {
    flex: 1;
    margin-left: 15px;
}

.file-info h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.file-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.file-icon {
    font-size: 2.5rem;
    color: #667eea;
}

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

/* Development Mode Styles */
.dev-mode-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff9800;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1001;
    animation: pulse 2s infinite;
}

.dev-mode-indicator::before {
    content: "🔧 ";
}

/* Form States */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: inherit;
    z-index: 10;
}

.form-loading::before {
    content: "⏳";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 11;
    animation: spin 1s linear infinite;
}
