/* ============================================
   MEGAUPLOAD CLASSIC - ESTILOS CSS
   Tema naranja estilo 2010
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #333;
}

/* ============================================
   HEADER
   ============================================ */

.mu-header {
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    border-bottom: 3px solid #ff7b00;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mu-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.mu-logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: -1px;
}

.mu-logo-mega {
    color: #1a1a2e;
}

.mu-logo-upload {
    color: #ff7b00;
}

.mu-session {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.mu-session a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.mu-session a:hover {
    color: #ff7b00;
}

.mu-lang {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7b00 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* NAV */

.mu-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0 20px;
    background: #fafafa;
}

.mu-nav a {
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.mu-nav a:hover,
.mu-nav a.active {
    color: #ff7b00;
    background: #fff;
    border-bottom-color: #ff7b00;
}

/* ============================================
   MAIN
   ============================================ */

.mu-main {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ============================================
   UPLOAD BOX
   ============================================ */

.mu-upload-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    border-top: 4px solid #ff7b00;
}

.mu-upload-box h2 {
    color: #ff7b00;
    margin-bottom: 5px;
    font-size: 24px;
}

.mu-subtitle {
    color: #777;
    margin-bottom: 20px;
}

/* DROPZONE */

.mu-dropzone {
    border: 3px dashed #ff7b00;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fffaf5;
    margin-bottom: 20px;
    position: relative;
}

.mu-dropzone:hover {
    background: #fff5eb;
    border-color: #ff9a3c;
}

.mu-dropzone.dragover {
    background: #ffe8d6;
    border-color: #ff6600;
}

.mu-dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.mu-dropzone-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.mu-dropzone-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* FORM */

.mu-upload-row,
.mu-form-group {
    margin-bottom: 15px;
}

.mu-upload-row label,
.mu-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.mu-upload-row input[type="text"],
.mu-form-group input[type="text"],
.mu-form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.mu-upload-row input:focus,
.mu-form-group input:focus {
    outline: none;
    border-color: #ff7b00;
}

/* ============================================
   BUTTONS
   ============================================ */

.mu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    background: #e0e0e0;
    color: #333;
}

.mu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mu-btn-orange {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7b00 100%);
    color: #fff;
    border: none;
}

.mu-btn-orange:hover {
    background: linear-gradient(135deg, #ffb366 0%, #ff8c1a 100%);
}

.mu-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.mu-btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.mu-btn-full {
    width: 100%;
    justify-content: center;
}

.mu-btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
}

.mu-btn-download {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.mu-progress-container {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.mu-progress {
    height: 25px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.mu-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff9a3c 0%, #ff7b00 50%, #ff6600 100%);
    border-radius: 15px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255,123,0,0.5);
}

.mu-progress-bar-download {
    background: linear-gradient(90deg, #ff9a3c 0%, #ff7b00 50%, #ff6600 100%);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.mu-progress-text {
    text-align: center;
    margin-top: 8px;
    font-weight: bold;
    color: #ff7b00;
}

/* ============================================
   STATUS & RESULTS
   ============================================ */

.mu-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.mu-result {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.mu-result h3 {
    color: #155724;
    margin-bottom: 10px;
}

.mu-result-link {
    display: flex;
    gap: 10px;
}

/* ============================================
   LINK INPUT
   ============================================ */

.mu-link-input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    background: #fafafa;
}

.mu-link-input:focus {
    outline: none;
    border-color: #ff7b00;
}

/* ============================================
   CARDS
   ============================================ */

.mu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.mu-card {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7b00 100%);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255,123,0,0.3);
    transition: transform 0.3s;
}

.mu-card:hover {
    transform: translateY(-5px);
}

.mu-card-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.mu-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.mu-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* ============================================
   TABLES
   ============================================ */

.mu-table-container {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.mu-table-container h3 {
    color: #ff7b00;
    margin-bottom: 15px;
}

.mu-table {
    width: 100%;
    border-collapse: collapse;
}

.mu-table th,
.mu-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.mu-table th {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7b00 100%);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

.mu-table th:first-child {
    border-radius: 8px 0 0 0;
}

.mu-table th:last-child {
    border-radius: 0 8px 0 0;
}

.mu-table tbody tr:hover {
    background: #fffaf5;
}

.mu-filename {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mu-downloads {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7b00 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.mu-actions {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

/* ============================================
   LAST FILES SECTION
   ============================================ */

.mu-last-files {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.mu-last-files h2 {
    color: #ff7b00;
    margin-bottom: 20px;
}

.mu-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

/* ============================================
   LOGIN
   ============================================ */

.mu-login-box {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    border-top: 4px solid #ff7b00;
}

.mu-login-header {
    text-align: center;
    margin-bottom: 25px;
}

.mu-login-header h2 {
    color: #ff7b00;
    margin-bottom: 5px;
}

.mu-login-header p {
    color: #777;
    font-size: 14px;
}

.mu-login-form {
    margin-bottom: 20px;
}

.mu-login-hint {
    text-align: center;
    padding: 15px;
    background: #fffaf5;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
}

/* ============================================
   ALERTS
   ============================================ */

.mu-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.mu-alert-error {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
    color: #cc0000;
    border-left: 4px solid #cc0000;
}

.mu-alert-success {
    background: linear-gradient(135deg, #e6ffe6 0%, #ccffcc 100%);
    color: #008000;
    border-left: 4px solid #008000;
}

.mu-alert-info {
    background: linear-gradient(135deg, #e6f3ff 0%, #cce5ff 100%);
    color: #0066cc;
    border-left: 4px solid #0066cc;
}

/* ============================================
   DASHBOARD
   ============================================ */

.mu-dashboard {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.mu-dashboard-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.mu-dashboard-header h2 {
    color: #ff7b00;
    margin-bottom: 5px;
}

.mu-dashboard-header p {
    color: #777;
}

.mu-dashboard-actions {
    margin: 20px 0;
}

/* STATS */

.mu-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.mu-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #fffaf5 0%, #fff5eb 100%);
    border-radius: 10px;
    border-left: 4px solid #ff7b00;
}

.mu-stat-icon {
    font-size: 32px;
}

.mu-stat-info {
    display: flex;
    flex-direction: column;
}

.mu-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #ff7b00;
}

.mu-stat-label {
    font-size: 13px;
    color: #777;
}

/* ============================================
   DOWNLOAD PAGE
   ============================================ */

.mu-download-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    border-top: 4px solid #ff7b00;
    max-width: 600px;
    margin: 0 auto;
}

.mu-download-header {
    text-align: center;
    margin-bottom: 25px;
}

.mu-download-header h2 {
    color: #ff7b00;
}

.mu-download-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fffaf5;
    border-radius: 10px;
    margin-bottom: 25px;
}

.mu-file-icon {
    font-size: 48px;
}

.mu-file-details h3 {
    margin-bottom: 10px;
    color: #333;
    word-break: break-all;
}

.mu-file-details p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.mu-download-progress {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    text-align: center;
}

.mu-download-actions {
    text-align: center;
    margin: 25px 0;
}

.mu-share-box {
    padding: 20px;
    background: #f0f0f0;
    border-radius: 10px;
}

.mu-share-box h4 {
    margin-bottom: 10px;
    color: #555;
}

.mu-share-input {
    display: flex;
    gap: 10px;
}

/* ============================================
   FILE LINK PAGE
   ============================================ */

.mu-link-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    border-top: 4px solid #ff7b00;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.mu-link-header h2 {
    color: #ff7b00;
    margin-bottom: 20px;
}

.mu-file-info {
    padding: 20px;
    margin-bottom: 20px;
}

.mu-file-icon-large {
    font-size: 64px;
    margin-bottom: 15px;
}

.mu-share-section {
    padding: 20px;
    background: #fffaf5;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.mu-share-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
}

.mu-link-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ============================================
   ERROR BOX
   ============================================ */

.mu-error-box {
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.mu-error-box h2 {
    color: #cc0000;
    margin-bottom: 15px;
}

.mu-error-box p {
    color: #666;
    margin-bottom: 20px;
}

/* ============================================
   STATIC PAGES
   ============================================ */

.mu-page-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.mu-page-box h2 {
    color: #ff7b00;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* PREMIUM */

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

.mu-feature {
    text-align: center;
    padding: 25px;
    background: #fffaf5;
    border-radius: 10px;
    transition: transform 0.3s;
}

.mu-feature:hover {
    transform: translateY(-5px);
}

.mu-feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.mu-feature h3 {
    color: #ff7b00;
    margin-bottom: 10px;
}

.mu-feature p {
    color: #666;
    font-size: 14px;
}

.mu-premium-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fffaf5 0%, #fff5eb 100%);
    border-radius: 10px;
}

.mu-premium-cta h3 {
    margin-bottom: 15px;
    color: #333;
}

/* PROMOS */

.mu-promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.mu-promo-card {
    padding: 25px;
    background: #fff;
    border: 2px solid #ff7b00;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.mu-promo-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7b00 100%);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.mu-promo-card h3 {
    color: #ff7b00;
    margin: 15px 0 10px;
}

.mu-promo-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* TOP */

.mu-top-badge {
    font-size: 20px;
}

/* TOOLS */

.mu-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.mu-tool-card {
    padding: 25px;
    background: #fffaf5;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #ffe0c0;
    transition: all 0.3s;
}

.mu-tool-card:hover {
    border-color: #ff7b00;
    box-shadow: 0 5px 20px rgba(255,123,0,0.2);
}

.mu-tool-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.mu-tool-card h3 {
    color: #ff7b00;
    margin-bottom: 10px;
}

.mu-tool-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* FAQ */

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

.mu-faq-item {
    padding: 20px;
    background: #fffaf5;
    border-radius: 10px;
    border-left: 4px solid #ff7b00;
}

.mu-faq-item h3 {
    color: #ff7b00;
    margin-bottom: 10px;
    font-size: 16px;
}

.mu-faq-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.mu-faq-item code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* ============================================
   FOOTER
   ============================================ */

.mu-footer {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    text-align: center;
}

.mu-footer-content p {
    color: #888;
    font-size: 13px;
    margin-bottom: 5px;
}

.mu-footer-content p:last-child {
    color: #ff7b00;
    font-size: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .mu-header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .mu-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mu-nav a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .mu-cards {
        grid-template-columns: 1fr;
    }

    .mu-stats {
        grid-template-columns: 1fr;
    }

    .mu-actions {
        flex-direction: column;
    }

    .mu-share-input {
        flex-direction: column;
    }

    .mu-result-link {
        flex-direction: column;
    }

    .mu-link-actions {
        flex-direction: column;
    }

    .mu-table th,
    .mu-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}
