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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFD700 0%, #f8d363 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.login-box {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-box .logo-bb {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.login-box .logo-bb .logo-container {
    background: #FFD700;
    padding: 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-box .logo-bb img {
    width: 80px;
    height: auto;
    max-width: 100%;
    display: block;
}

.login-box h1 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
}

.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #e0e0e0;
    box-shadow: none;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #1E3A8A;
    color: #fff;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
    background: #1e40af;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Admin Panel Styles */
.admin-panel {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    width: 100%;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.admin-header h1 {
    color: #333;
    font-size: 28px;
}

.admin-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.info-box p {
    margin-bottom: 10px;
    color: #333;
}

.protocolo-display {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    word-break: break-all;
}

.protocol-form {
    margin-bottom: 30px;
}

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

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

/* Main Content Styles */
.main-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.main-content h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.content-box {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.content-box p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.actions {
    margin-top: 20px;
}

.actions .btn {
    max-width: 200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
    .login-box,
    .admin-panel,
    .main-content {
        padding: 30px 20px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .admin-header .btn {
        width: 100%;
    }
}

