  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f5f5;
            min-height: 100vh;
            padding: 20px;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        /* AUTENTICACIÓN */
        .auth-container {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
            justify-content: center;
            align-items: center;
            z-index: 2000;
        }
        .auth-container.active {
            display: flex;
        }
        .auth-box {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            width: 100%;
            max-width: 400px;
        }
        .auth-box h2 {
            color: #1a3a52;
            margin-bottom: 30px;
            text-align: center;
            font-size: 1.8em;
        }
        .auth-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
        }
        .auth-tab {
            flex: 1;
            padding: 10px;
            background: #e0e0e0;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .auth-tab.active {
            background: #ff9800;
            color: white;
        }
        .auth-form {
            display: none;
        }
        .auth-form.active {
            display: block;
        }
        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
            font-size: 0.95em;
        }
        input, textarea, select {
            width: 100%;
            padding: 12px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1em;
            font-family: inherit;
            transition: all 0.3s ease;
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: #ff9800;
            box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
        }
        .auth-button {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }
        .auth-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(26, 58, 82, 0.4);
        }
        /* HEADER */
        header {
            background: white;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        header h1 {
            color: #1a3a52;
            font-size: 1.8em;
        }
        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .user-badge {
            background: #ff9800;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
        }
        .logout-btn {
            padding: 8px 16px;
            background: #f44336;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .logout-btn:hover {
            background: #da190b;
        }
        /* MAIN CONTENT */
        .main-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 30px;
        }
        .form-section {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            height: fit-content;
            position: sticky;
            top: 20px;
        }
        .form-section h2 {
            color: #1a3a52;
            margin-bottom: 20px;
            font-size: 1.5em;
        }
        button {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(26, 58, 82, 0.4);
        }
        button:active {
            transform: translateY(0);
        }
        .list-section {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .list-section h2 {
            color: #1a3a52;
            margin-bottom: 20px;
            font-size: 1.5em;
        }
        .search-filter {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
        }
        .search-filter input,
        .search-filter select {
            flex: 1;
            padding: 12px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 0.95em;
        }
        .search-filter input:focus,
        .search-filter select:focus {
            outline: none;
            border-color: #ff9800;
            box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
        }
        .complaint-item {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 15px;
            border-left: 5px solid #ff9800;
            transition: all 0.3s ease;
        }
        .complaint-item:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateX(5px);
        }
        .complaint-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 10px;
        }
        .complaint-title {
            font-size: 1.1em;
            font-weight: 600;
            color: #333;
        }
        .complaint-category {
            display: inline-block;
            background: #1a3a52;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
        }
        .complaint-meta {
            color: #666;
            font-size: 0.9em;
            margin-bottom: 10px;
        }
        .complaint-description {
            color: #555;
            line-height: 1.5;
            margin-bottom: 15px;
        }
        .complaint-actions {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        .btn-edit, .btn-delete, .btn-view {
            padding: 8px 15px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .btn-edit {
            background: #4CAF50;
            color: white;
        }
        .btn-edit:hover {
            background: #45a049;
            transform: translateY(-2px);
        }
        .btn-delete {
            background: #f44336;
            color: white;
        }
        .btn-delete:hover {
            background: #da190b;
            transform: translateY(-2px);
        }
        .btn-view {
            background: #2196F3;
            color: white;
        }
        .btn-view:hover {
            background: #0b7dda;
            transform: translateY(-2px);
        }
        /* COMENTARIOS */
        .comments-section {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e0e0e0;
        }
        .comments-title {
            font-size: 0.95em;
            font-weight: 600;
            color: #1a3a52;
            margin-bottom: 10px;
        }
        .comment {
            background: white;
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 10px;
            border-left: 3px solid #ff9800;
        }
        .comment-author {
            font-weight: 600;
            color: #1a3a52;
            font-size: 0.9em;
        }
        .comment-text {
            color: #555;
            font-size: 0.9em;
            margin-top: 5px;
        }
        .comment-form {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        .comment-form input {
            flex: 1;
            padding: 8px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            font-size: 0.9em;
        }
        .comment-form button {
            padding: 8px 15px;
            background: #ff9800;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 600;
            width: auto;
        }
        .comment-form button:hover {
            background: #e68900;
        }
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #999;
        }
        .alert {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        .alert-success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .alert-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
            overflow-y: auto;
        }
        .modal.active {
            display: flex;
        }
        .modal-content {
            background: white;
            padding: 30px;
            border-radius: 15px;
            max-width: 600px;
            width: 90%;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            margin: 20px auto;
        }
        .modal-header {
            font-size: 1.5em;
            font-weight: 600;
            color: #1a3a52;
            margin-bottom: 20px;
        }
        .modal-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        .modal-actions button {
            flex: 1;
        }
        .btn-cancel {
            background: #ccc;
        }
        .btn-cancel:hover {
            background: #bbb;
        }
        .stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        .stat-card {
            background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
            color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
        }
        .stat-number {
            font-size: 2em;
            font-weight: 700;
        }
        .stat-label {
            font-size: 0.9em;
            opacity: 0.9;
        }
        .admin-panel {
            display: none;
        }
        .admin-panel.active {
            display: block;
        }
        .admin-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 2px solid #e0e0e0;
        }
        .admin-tab {
            padding: 12px 20px;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            cursor: pointer;
            font-weight: 600;
            color: #666;
            transition: all 0.3s ease;
            width: auto;
        }
        .admin-tab.active {
            color: #ff9800;
            border-bottom-color: #ff9800;
        }
        .admin-tab:hover {
            color: #1a3a52;
        }
        @media (max-width: 768px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            .form-section {
                position: static;
            }
            header {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            header h1 {
                font-size: 1.5em;
            }
            .stats {
                grid-template-columns: 1fr;
            }
            .search-filter {
                flex-direction: column;
            }
        }