/* ============================================
   GEORUTA - Sistema de Verificación de Documentos
   Paleta Corporativa:
   - Negro profundo: #000000
   - Celeste tecnológico: #7BC9FF
   - Blanco puro: #FFFFFF
   - Azul oscuro: #0B2E63
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    background: #f5f7fa;
    color: #000000;
    line-height: 1.6;
    font-weight: 400;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #0B2E63 0%, #1a4280 100%);
    color: white;
    padding: 18px 0;
    box-shadow: 0 4px 12px rgba(11, 46, 99, 0.3);
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7BC9FF 0%, #0B2E63 50%, #7BC9FF 100%);
}

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

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-brand::before {
    content: '🌐 ';
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    background: rgba(123, 201, 255, 0.2);
    transform: translateY(-2px);
}

.nav-menu span {
    color: #7BC9FF;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 25px;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 3px solid #7BC9FF;
}

.page-header h1 {
    font-size: 32px;
    color: #0B2E63;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(11, 46, 99, 0.1);
    margin-bottom: 25px;
    border: 1px solid rgba(123, 201, 255, 0.2);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(11, 46, 99, 0.15);
    transform: translateY(-2px);
}

.card h2, .card h3 {
    margin-bottom: 20px;
    color: #0B2E63;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #7BC9FF;
    padding-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.btn-primary {
    background: linear-gradient(135deg, #7BC9FF 0%, #5ab3f0 100%);
    color: #0B2E63;
    font-weight: 800;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8dd4ff 0%, #7BC9FF 100%);
}

.btn-secondary {
    background: #0B2E63;
    color: white;
}

.btn-secondary:hover {
    background: #1a4280;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-info {
    background: #7BC9FF;
    color: #0B2E63;
    font-weight: 700;
}

.btn-info:hover {
    background: #5ab3f0;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #0B2E63;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group input[type="datetime-local"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #7BC9FF;
    box-shadow: 0 0 0 3px rgba(123, 201, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    color: #0B2E63;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    transform: scale(1.2);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Alerts */
.alert {
    padding: 16px 22px;
    border-radius: 8px;
    margin-bottom: 22px;
    border-left: 5px solid;
    font-weight: 500;
}

.alert-error {
    background: #ffe6e6;
    color: #c82333;
    border-color: #dc3545;
}

.alert-success {
    background: #d4f4dd;
    color: #155724;
    border-color: #7BC9FF;
}

.alert-info {
    background: #e6f7ff;
    color: #0B2E63;
    border-color: #7BC9FF;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0B2E63 0%, #1a4280 50%, #0B2E63 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(123, 201, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 201, 255, 0.1) 0%, transparent 50%);
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 25px;
    position: relative;
    z-index: 1;
}

.login-box {
    background: white;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-top: 5px solid #7BC9FF;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 12px;
    color: #0B2E63;
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-box .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
    font-size: 14px;
    font-weight: 500;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.link-secondary {
    color: #7BC9FF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.link-secondary:hover {
    color: #0B2E63;
}

/* Verify Page */
.verify-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0B2E63 0%, #1a4280 50%, #0B2E63 100%);
    position: relative;
    overflow: hidden;
}

.verify-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(123, 201, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(123, 201, 255, 0.15) 0%, transparent 50%);
}

.verify-container {
    width: 100%;
    max-width: 550px;
    padding: 25px;
    position: relative;
    z-index: 1;
}

.verify-box {
    background: white;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-top: 5px solid #7BC9FF;
}

.verify-header h1 {
    text-align: center;
    margin-bottom: 12px;
    color: #0B2E63;
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verify-header .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
    font-weight: 500;
}

.verify-footer {
    margin-top: 35px;
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 22px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #7BC9FF;
}

.info-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #0B2E63;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box ul {
    margin-left: 20px;
    color: #333;
}

.info-box ul li {
    margin-bottom: 8px;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: linear-gradient(135deg, #0B2E63 0%, #1a4280 100%);
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(11, 46, 99, 0.2);
    text-align: center;
    border: 2px solid #7BC9FF;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(11, 46, 99, 0.3);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #7BC9FF;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table thead {
    background: linear-gradient(135deg, #0B2E63 0%, #1a4280 100%);
}

.table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 700;
    color: white;
    border-bottom: 3px solid #7BC9FF;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.table tbody tr {
    transition: all 0.2s;
}

.table tbody tr:hover {
    background: rgba(123, 201, 255, 0.05);
}

.table-sm th,
.table-sm td {
    padding: 10px 8px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #7BC9FF;
    color: #0B2E63;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-expired {
    background: #fff3cd;
    color: #856404;
}

/* Code Badge */
.code-badge {
    background: linear-gradient(135deg, #7BC9FF 0%, #5ab3f0 100%);
    color: #0B2E63;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Empty State */
.empty-state {
    text-align: center;
    color: #666;
    padding: 50px 20px;
    font-size: 16px;
}

/* Document Details */
.document-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.info-group {
    margin-bottom: 22px;
}

.info-group label {
    display: block;
    font-weight: 700;
    color: #0B2E63;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.info-group p {
    color: #333;
}

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

.code-display code {
    background: linear-gradient(135deg, #7BC9FF 0%, #5ab3f0 100%);
    color: #0B2E63;
    padding: 10px 16px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.url-display {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.url-display input {
    flex: 1;
    padding: 10px;
    border: 2px solid #7BC9FF;
    border-radius: 6px;
    font-size: 12px;
}

/* QR Code */
.qr-container {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 3px solid #7BC9FF;
}

.qr-code {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #666;
}

/* Verified Badge */
.verified-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7BC9FF 0%, #5ab3f0 100%);
    color: #0B2E63;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(123, 201, 255, 0.3);
}

/* Document Viewer Styles */
.document-viewer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
}

.document-header {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(11, 46, 99, 0.1);
    margin-bottom: 25px;
    border-top: 5px solid #7BC9FF;
}

.pdf-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(11, 46, 99, 0.1);
    overflow: hidden;
    min-height: 800px;
    border: 2px solid #7BC9FF;
}

.pdf-container iframe {
    width: 100%;
    height: 800px;
    border: none;
}

.download-link {
    display: block;
    text-align: center;
    padding: 18px;
    background: linear-gradient(135deg, #7BC9FF 0%, #5ab3f0 100%);
    color: #0B2E63;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.download-link:hover {
    background: linear-gradient(135deg, #8dd4ff 0%, #7BC9FF 100%);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Tablets y dispositivos medianos (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 20px 15px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .document-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Móviles grandes y tablets pequeñas (481px - 768px) */
@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 14px;
    }

    /* Navigation */
    .navbar {
        padding: 15px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .nav-brand {
        font-size: 20px;
        text-align: center;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu a,
    .nav-menu .btn {
        width: 100%;
        text-align: center;
    }

    /* Container */
    .container {
        padding: 15px 10px;
    }

    /* Page Header */
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        margin-bottom: 25px;
    }

    .page-header h1 {
        font-size: 22px;
        text-align: center;
    }

    .page-header .btn {
        width: 100%;
    }

    /* Cards */
    .card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .card h2, .card h3 {
        font-size: 18px;
    }

    /* Buttons */
    .btn {
        padding: 14px 20px;
        font-size: 13px;
        width: 100%;
        touch-action: manipulation;
    }

    .btn-sm {
        padding: 10px 16px;
        font-size: 12px;
    }

    /* Forms */
    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 16px; /* Evita zoom en iOS */
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .form-actions .btn {
        width: 100%;
    }

    /* Statistics */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Tables */
    .table-responsive {
        margin: 0 -15px;
    }

    .table {
        font-size: 11px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .table thead {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .table tbody {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .table th,
    .table td {
        padding: 10px 8px;
    }

    .table th {
        font-size: 10px;
    }

    /* Action Buttons */
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .action-buttons .btn {
        width: auto;
        flex: 1;
        min-width: 60px;
        padding: 8px 10px;
        font-size: 10px;
    }

    /* Login & Verify Pages */
    .login-container,
    .verify-container {
        padding: 15px;
    }

    .login-box,
    .verify-box {
        padding: 25px 20px;
        border-radius: 10px;
    }

    .login-box h1,
    .verify-box h1 {
        font-size: 24px;
    }

    .login-box .subtitle,
    .verify-box .subtitle {
        font-size: 13px;
    }

    /* Info Box */
    .info-box {
        padding: 15px;
    }

    .info-box h3 {
        font-size: 14px;
    }

    .info-box ul {
        font-size: 13px;
    }

    /* Document Details */
    .document-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-group {
        margin-bottom: 18px;
    }

    .code-display {
        flex-direction: column;
        align-items: stretch;
    }

    .code-display code {
        font-size: 16px;
        text-align: center;
        padding: 12px;
    }

    .code-display .btn {
        width: 100%;
    }

    .url-display {
        flex-direction: column;
    }

    .url-display input {
        width: 100%;
        font-size: 11px;
    }

    .url-display .btn {
        width: 100%;
    }

    /* QR Code */
    .qr-container {
        padding: 15px;
    }

    .qr-code {
        max-width: 250px;
    }

    /* Document Viewer */
    .document-viewer {
        padding: 15px 10px;
    }

    .document-header {
        padding: 20px 15px;
    }

    .document-header > div {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .document-header h1 {
        font-size: 20px !important;
    }

    .verified-badge {
        font-size: 13px;
        padding: 8px 16px;
    }

    .pdf-container {
        min-height: 500px;
    }

    .pdf-container iframe {
        height: 500px;
    }

    .download-link {
        padding: 15px;
        font-size: 12px;
    }

    /* Alerts */
    .alert {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* Status Badges */
    .status-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .code-badge {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    /* Typography */
    body {
        font-size: 13px;
    }

    /* Navigation */
    .nav-brand {
        font-size: 18px;
    }

    .nav-brand::before {
        font-size: 16px;
    }

    /* Page Header */
    .page-header h1 {
        font-size: 20px;
    }

    /* Buttons */
    .btn {
        padding: 16px 20px;
        font-size: 14px;
    }

    /* Forms - Inputs más grandes para touch */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 16px 18px;
        font-size: 16px; /* Previene zoom automático en iOS */
    }

    /* Statistics */
    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Tables - Vista de cards en móvil muy pequeño */
    .table {
        font-size: 10px;
    }

    .table th,
    .table td {
        padding: 8px 5px;
    }

    /* Login & Verify */
    .login-box,
    .verify-box {
        padding: 20px 15px;
    }

    .login-box h1,
    .verify-box h1 {
        font-size: 22px;
    }

    /* Document Viewer */
    .document-header h1 {
        font-size: 18px !important;
    }

    .document-header > div > div {
        font-size: 12px;
    }

    .pdf-container iframe {
        height: 400px;
    }

    .pdf-container {
        min-height: 400px;
    }

    /* QR Code */
    .qr-code {
        max-width: 200px;
    }

    /* Info Groups */
    .info-group label {
        font-size: 11px;
    }

    .info-group p {
        font-size: 13px;
    }

    /* Action buttons stack en móviles muy pequeños */
    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Landscape orientation en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .login-page,
    .verify-page {
        padding: 20px 0;
    }

    .login-box,
    .verify-box {
        padding: 20px;
    }

    .navbar {
        padding: 10px 0;
    }

    .pdf-container iframe {
        height: 350px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Botones más grandes para dedos */
    .btn {
        min-height: 44px; /* Estándar de Apple para touch targets */
    }

    .btn-sm {
        min-height: 38px;
    }

    /* Links más grandes */
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Checkboxes y radios más grandes */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 22px;
        min-height: 22px;
    }

    /* Remover efectos hover en touch devices */
    .btn:hover,
    .card:hover,
    .stat-card:hover {
        transform: none;
    }

    /* Feedback visual en touch */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.8;
    }
}

/* Mobile-friendly table alternative - Card view */
@media (max-width: 600px) {
    /* Hide table, show card view */
    .mobile-card-view {
        display: block !important;
    }

    .mobile-table-hide {
        display: none !important;
    }

    /* Card style for table rows */
    .mobile-doc-card {
        background: white;
        border: 2px solid #7BC9FF;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(11, 46, 99, 0.1);
    }

    .mobile-doc-card-header {
        display: flex;
        justify-content: space-between;
        align-items: start;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 2px solid #7BC9FF;
    }

    .mobile-doc-title {
        font-size: 16px;
        font-weight: 700;
        color: #0B2E63;
        margin-bottom: 5px;
    }

    .mobile-doc-code {
        font-family: 'Courier New', monospace;
        background: linear-gradient(135deg, #7BC9FF 0%, #5ab3f0 100%);
        color: #0B2E63;
        padding: 6px 12px;
        border-radius: 6px;
        font-weight: 800;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .mobile-doc-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 12px;
        font-size: 12px;
    }

    .mobile-doc-info-item {
        display: flex;
        flex-direction: column;
    }

    .mobile-doc-info-label {
        font-weight: 700;
        color: #0B2E63;
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 0.5px;
        margin-bottom: 3px;
    }

    .mobile-doc-info-value {
        color: #333;
    }

    .mobile-doc-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .mobile-doc-actions .btn {
        flex: 1;
        min-width: 80px;
        font-size: 11px;
        padding: 10px 12px;
    }
}

/* Utility Classes */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

/* Desktop - hide card view by default */
.mobile-card-view {
    display: none;
}
