/* ===== VARIª¡VEIS E CONFIGURAª®ªØES GLOBAIS ===== */
:root {
  /* Tema Light */
  --bg-gradient-light: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-primary-light: #ffffff;
  --bg-secondary-light: #f8f9fa;
  --text-primary-light: #333333;
  --text-secondary-light: #555555;
  --text-muted-light: #6c757d;
  --border-light: #ddd;
  --shadow-light: rgba(0,0,0,0.1);
  --shadow-hover-light: rgba(0,0,0,0.15);
  
  /* Tema Dark */
  --bg-gradient-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  --bg-primary-dark: #2c3e50;
  --bg-secondary-dark: #34495e;
  --text-primary-dark: #ecf0f1;
  --text-secondary-dark: #bdc3c7;
  --text-muted-dark: #95a5a6;
  --border-dark: #4a4a4a;
  --shadow-dark: rgba(0,0,0,0.3);
  --shadow-hover-dark: rgba(0,0,0,0.4);
  
  /* Cores do Sistema */
  --primary-color: #667eea;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --whatsapp-color: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== LAYOUT BASE ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    transition: all 0.3s ease;
}

body[data-theme="light"] {
    background: var(--bg-gradient-light);
    color: var(--text-primary-light);
}

body[data-theme="dark"] {
    background: var(--bg-gradient-dark);
    color: var(--text-primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== HEADER ===== */
.header {
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

body[data-theme="light"] .header {
    background: var(--bg-primary-light);
}

body[data-theme="dark"] .header {
    background: var(--bg-primary-dark);
    border: 1px solid var(--border-dark);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-content .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.header-content h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== LOGO ===== */
.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

.logo-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

/* ===== LOGIN ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    width: 100%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

body[data-theme="light"] .login-box {
    background: var(--bg-primary-light);
    color: var(--text-primary-light);
}

body[data-theme="dark"] .login-box {
    background: var(--bg-primary-dark);
    color: var(--text-primary-dark);
    border: 1px solid var(--border-dark);
}

.theme-toggle {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

body[data-theme="dark"] .theme-toggle {
    border-color: var(--border-dark);
}

/* ===== FORMULª¡RIOS ===== */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

body[data-theme="light"] .form-group label {
    color: var(--text-secondary-light);
}

body[data-theme="dark"] .form-group label {
    color: var(--text-secondary-dark);
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group select {
    cursor: pointer;
}

input[type="file"] {
    cursor: pointer;
}

body[data-theme="light"] .form-group input,
body[data-theme="light"] .form-group select {
    background: var(--bg-primary-light);
    color: var(--text-primary-light);
    border-color: var(--border-light);
}

body[data-theme="dark"] .form-group input,
body[data-theme="dark"] .form-group select {
    background: var(--bg-secondary-dark);
    color: var(--text-primary-dark);
    border-color: var(--border-dark);
}

body[data-theme="dark"] select option {
    background: var(--bg-secondary-dark);
    color: var(--text-primary-dark);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

body[data-theme="dark"] .form-group input:focus,
body[data-theme="dark"] .form-group select:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* ===== BOTªØES ===== */
.btn-primary, .btn-secondary, .btn-danger, .btn-warning, .btn-success, .btn-whatsapp, .btn-theme, .btn-upload {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary, .btn-upload {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover, .btn-upload:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--warning-color);
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: white;
}

.btn-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.btn-theme {
    background: #495057;
    color: white;
}

.btn-theme:hover {
    background: #343a40;
    transform: translateY(-2px);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

button:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.btn-dismiss {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.6;
}

.btn-dismiss:hover {
    background: rgba(0,0,0,0.1);
    transform: scale(1.1);
    opacity: 1;
}

body[data-theme="dark"] .btn-dismiss:hover {
    background: rgba(255,255,255,0.1);
}

.btn-show-info {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-show-info:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* ===== SEª®ªØES ===== */
.add-client-section, .clients-section {
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

body[data-theme="light"] .add-client-section,
body[data-theme="light"] .clients-section {
    background: var(--bg-primary-light);
}

body[data-theme="dark"] .add-client-section,
body[data-theme="dark"] .clients-section {
    background: var(--bg-primary-dark);
    border: 1px solid var(--border-dark);
}

.add-client-section h2, .clients-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-form {
    margin-top: 1.5rem;
}

/* ===== GRID DE CLIENTES ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.client-card {
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease forwards;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover-light);
}

body[data-theme="dark"] .client-card {
    border: 1px solid var(--border-dark);
}

body[data-theme="dark"] .client-card:hover {
    box-shadow: 0 8px 25px var(--shadow-hover-dark);
}

.client-card.status-ativo {
    border-left: 5px solid var(--success-color);
}

body[data-theme="light"] .client-card.status-ativo {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
}

body[data-theme="dark"] .client-card.status-ativo {
    background: linear-gradient(135deg, #1e3a2e, #2d5a3d);
}

.client-card.status-vencendo {
    border-left: 5px solid var(--warning-color);
}

body[data-theme="light"] .client-card.status-vencendo {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
}

body[data-theme="dark"] .client-card.status-vencendo {
    background: linear-gradient(135deg, #4a3c1a, #6b5328);
}

.client-card.status-vencido {
    border-left: 5px solid var(--danger-color);
}

body[data-theme="light"] .client-card.status-vencido {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
}

body[data-theme="dark"] .client-card.status-vencido {
    background: linear-gradient(135deg, #4a1e24, #6b2c3a);
}

.client-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.client-header h3 {
    margin: 0;
    flex: 1;
}

body[data-theme="dark"] h1, 
body[data-theme="dark"] h2, 
body[data-theme="dark"] h3 {
    color: var(--text-primary-dark);
}

.client-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.client-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.client-link:hover {
    color: #5a6fd8;
}

body[data-theme="dark"] .client-link {
    color: #74a9ff;
}

body[data-theme="dark"] .client-link:hover {
    color: #a8c7ff;
}

.blocked-badge {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: pulse 2s infinite;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: white;
}

.status-badge-ativo {
    background: var(--success-color);
}

.status-badge-vencendo {
    background: var(--warning-color);
    color: #212529;
}

.status-badge-vencido {
    background: var(--danger-color);
}

.client-info {
    margin-bottom: 1.5rem;
}

.client-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

body[data-theme="light"] .client-info p {
    color: var(--text-secondary-light);
}

body[data-theme="dark"] .client-info p {
    color: var(--text-secondary-dark);
}

.client-info i {
    width: 16px;
    color: var(--primary-color);
}

.client-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.no-clients {
    text-align: center;
    padding: 3rem;
    transition: color 0.3s ease;
}

body[data-theme="light"] .no-clients {
    color: var(--text-muted-light);
}

body[data-theme="dark"] .no-clients {
    color: var(--text-muted-dark);
}

.no-clients i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ===== ALERTAS E NOTIFICAª®ªØES ===== */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.3s ease forwards;
}

.alert i:first-child {
    flex-shrink: 0;
}

.alert > span,
.alert > div {
    flex: 1;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

body[data-theme="dark"] .alert-success {
    background: #1e3a2e;
    color: #a7d4b3;
    border-color: #2d5a3d;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

body[data-theme="dark"] .alert-error {
    background: #4a1e24;
    color: #f5a7b3;
    border-color: #6b2c3a;
}

.alert-warning {
    transition: all 0.3s ease;
}

body[data-theme="light"] .alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

body[data-theme="dark"] .alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.auto-dismiss {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    position: relative;
    animation: slideInDown 0.3s ease-out;
}

.auto-dismiss.show {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInScale 0.3s ease-out;
}

.auto-dismiss.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.info-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid var(--primary-color);
    border-left: 5px solid var(--primary-color);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.info-box.show {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInScale 0.3s ease-out;
}

.info-box.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body[data-theme="dark"] .info-box {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-primary-dark);
}

.info-box i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-box > span {
    flex: 1;
}

.info-box .btn-dismiss,
.alert .btn-dismiss {
    opacity: 0.6;
}

.info-box:hover .btn-dismiss,
.alert:hover .btn-dismiss {
    opacity: 1;
}

/* ===== MODAIS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s ease;
    overflow-y: auto;
}

body[data-theme="light"] .modal-content {
    background-color: var(--bg-primary-light);
    color: var(--text-primary-light);
}

body[data-theme="dark"] .modal-content {
    background-color: var(--bg-primary-dark);
    color: var(--text-primary-dark);
    border: 1px solid var(--border-dark);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

body[data-theme="light"] .close {
    color: #999;
}

body[data-theme="dark"] .close {
    color: var(--text-muted-dark);
}

.close:hover {
    color: var(--danger-color);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Upload Modal espec«¿fico */
.upload-info {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

body[data-theme="dark"] .upload-info {
    background: rgba(102, 126, 234, 0.2);
}

.upload-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

body[data-theme="light"] .upload-info p {
    color: var(--text-secondary-light);
}

body[data-theme="dark"] .upload-info p {
    color: var(--text-secondary-dark);
}

.upload-info p:last-child {
    margin-bottom: 0;
}

.upload-info i {
    color: var(--primary-color);
}

.paineis-list {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid;
    transition: border-color 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
    scroll-behavior: smooth;
    position: relative;
}

body[data-theme="light"] .paineis-list {
    border-color: var(--border-light);
}

body[data-theme="dark"] .paineis-list {
    border-color: var(--border-dark);
}

.paineis-list h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    padding-bottom: 0.5rem;
}

body[data-theme="light"] .paineis-list h4 {
    background: var(--bg-primary-light);
}

body[data-theme="dark"] .paineis-list h4 {
    background: var(--bg-primary-dark);
}

.paineis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    padding-right: 0.5rem;
}

.paineis-grid:empty::before {
    content: 'Carregando pain«±is...';
    display: block;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted-light);
    font-style: italic;
}

body[data-theme="dark"] .paineis-grid:empty::before {
    color: var(--text-muted-dark);
}

.painel-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid;
    min-height: 50px;
    animation: fadeInScale 0.3s ease-out;
    animation-fill-mode: both;
}

body[data-theme="light"] .painel-item {
    background: var(--bg-secondary-light);
    color: var(--text-secondary-light);
    border-color: var(--border-light);
}

body[data-theme="dark"] .painel-item {
    background: var(--bg-secondary-dark);
    color: var(--text-secondary-dark);
    border-color: var(--border-dark);
}

.painel-item:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px var(--shadow-light);
}

body[data-theme="dark"] .painel-item:hover {
    box-shadow: 0 2px 8px var(--shadow-dark);
}

.painel-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.painel-item span {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.painel-item:nth-child(1) { animation-delay: 0.1s; }
.painel-item:nth-child(2) { animation-delay: 0.2s; }
.painel-item:nth-child(3) { animation-delay: 0.3s; }
.painel-item:nth-child(4) { animation-delay: 0.4s; }
.painel-item:nth-child(5) { animation-delay: 0.5s; }

/* ===== SCROLLBARS PERSONALIZADAS ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary-light);
    border-radius: 4px;
}

body[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-secondary-dark);
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.paineis-list::-webkit-scrollbar {
    width: 6px;
}

.paineis-list::-webkit-scrollbar-track {
    background: transparent;
}

.paineis-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 0.5;
}

.paineis-list::-webkit-scrollbar-thumb:hover {
    opacity: 0.8;
}

/* ===== ANIMAª®ªØES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .btn-upload {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .add-client-section, .clients-section {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .paineis-grid {
        grid-template-columns: 1fr;
    }
    
    .client-actions {
        justify-content: center;
    }
    
    .client-badges {
        align-items: flex-start;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 95vh;
        padding: 1.5rem;
    }
    
    .paineis-list {
        max-height: 250px;
    }
    
    .modal-actions {
        justify-content: center;
    }
    
    .btn-show-info {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 1.5rem;
    }
    
    .header-content h1 {
        font-size: 1.4rem;
    }
    
    .client-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .client-badges {
        align-items: flex-start;
        width: 100%;
    }
    
    .modal-content {
        margin: 1% auto;
        width: 98%;
        max-height: 98vh;
        padding: 1rem;
    }
    
    .paineis-list {
        max-height: 200px;
    }
    
    .upload-info {
        padding: 0.75rem;
    }
    
    .upload-info p {
        font-size: 0.9rem;
    }
    
    .painel-item {
        padding: 0.6rem;
        font-size: 0.85rem;
        min-height: 45px;
    }
}