/**
 * Layout Styles - Structural Components
 * Containers, Topbar, Navigation, and Main Layout
 */

/* Container Styles */
.registration-container,
.success-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

.fan-upload-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

.fan-requests-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

/* Dashboard Top Bar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-right {
    display: flex;
    align-items: center;
}

/* Dashboard Main Content */
.main-content {
    max-width: 900px;
    margin: 100px auto 0 auto;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    padding: 40px 32px 32px 32px;
    min-height: 500px;
}

/* Profile Sections */
.profile-section,
.media-section,
.settings-section {
    margin-bottom: 32px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.profile-info-value {
    color: #222;
    font-weight: 600;
}

.settings-section .profile-info-row {
    border-bottom: none;
}

/* Share Section */
.share-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
}

.share-btns {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.share-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.link-text {
    font-family: monospace;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    word-break: break-all;
    border: 1px solid #ddd;
}

.credentials {
    margin-top: 20px;
    text-align: left;
}

.credential-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.credential-label {
    color: #333;
    width: 100px;
    display: inline-block;
}

.credential-value {
    color: #667eea;
    background: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
    cursor: pointer;
}

.steps-list {
    text-align: left;
    margin: 20px 0;
}

.step-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.step-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Referral Section Layout */
.referral-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.referral-link-container {
    margin-top: 15px;
}

.referral-link-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

#referral-link,
#profile-link {
    flex: 1;
    background: none;
    border: none;
    font-family: monospace;
    font-size: 0.9rem;
    color: #495057;
    margin-right: 10px;
    outline: none;
    cursor: pointer;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #5a6fd8;
}

.copy-btn.copied {
    background: #28a745;
}

.referral-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 8px 0;
}

.referral-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Earnings Grid Layout */
.earnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.earnings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.earnings-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #495057;
    margin: 0;
}

.earnings-icon {
    font-size: 1.5rem;
}

.earnings-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #495057;
}

/* Card Action Styles */
.card-action {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(108, 117, 125, 0.2);
}

/* Champion Info Section */
.champion-info-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.champion-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-align: center;
}

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

.champion-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.champion-detail-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.detail-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

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

.highlight-price {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 700;
}

/* Upload Form Layout */
.upload-form-section {
    margin-top: 30px;
}

.upload-intro {
    text-align: center;
    margin-bottom: 30px;
}

.upload-intro h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.upload-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.upload-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Next Steps Section */
.next-steps {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.next-steps h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-text {
    color: #666;
    line-height: 1.5;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

/* Video Info */
.video-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-weight: 500;
}

.video-icon {
    font-size: 1.2rem;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.steps-section-title {
    margin-bottom: 15px;
    color: #555;
}

.note-spaced {
    margin-top: 30px;
}
