/* MediaBank General Styles */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e5e7eb; /* Default text color */
    background-color: #111827; /* Default background color */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* General container */
.mb-app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
.mb-header {
    background-color: #1f2937;
    padding: 1rem;
    border-bottom: 1px solid #374151;
}

.mb-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mb-logo {
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.mb-nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.mb-nav-links a:hover {
    color: #9ca3af;
}

/* Main content styles */
.mb-main {
    flex-grow: 1;
    padding: 2rem;
}

.mb-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Home section styles */
.mb-home-section {
    text-align: center;
    padding: 4rem 2rem;
}

.mb-home-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.mb-home-description {
    font-size: 1.5rem;
    color: #9ca3af;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.mb-home-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Button styles */
.mb-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: medium;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.mb-button-primary {
    background-color: #3b82f6;
    color: #fff;
}

.mb-button-primary:hover {
    background-color: #2563eb;
}

.mb-button-secondary {
    background-color: #e5e7eb;
    color: #374151;
}

.mb-button-secondary:hover {
    background-color: #d1d5db;
}

/* Footer styles */
.mb-footer {
    background-color: #1f2937;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Error styles */
.mb-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fff5f5;
    border: 1px solid #f87171;
    border-radius: 0.5rem;
    text-align: center;
}

.mb-error-icon {
    font-size: 3rem;
    color: #b91c1c;
    margin-bottom: 1rem;
}

.mb-error-message {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.mb-error-retry {
    background-color: #6366f1;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: medium;
    transition: background-color 0.3s ease;
}

.mb-error-retry:hover {
    background-color: #4f46e5;
}

/* Loading styles */
.mb-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-spinner {
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Watermark styles */
.mb-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    display: none;
}

/* Notification styles */
.mb-notification {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

.mb-notification-visible {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mb-home-title {
        font-size: 2.5rem;
    }

    .mb-home-description {
        font-size: 1.25rem;
    }

    .mb-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
