/* Estilos básicos para a página de assinaturas */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilos personalizados para o layout vertical do navbar */
.navbar:first-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Estilo específico para o título principal do consultório */
#main-title-navbar .navbar-brand,
#main-title {
    font-size: 200px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
}

/* Fallback com seletores múltiplos */
.navbar:first-of-type .navbar-brand,
.navbar.navbar-expand-lg:first-of-type .navbar-brand,
.navbar:first-child .navbar-brand,
.navbar.navbar-dark.bg-primary:first-of-type .navbar-brand {
    font-size: 200px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
}

.navbar:nth-of-type(2) {
    padding-top: 0;
    margin-top: 0;
}

/* Alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: none;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Loading */
.loading {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #6c757d;
    display: none;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #1e7e34;
}

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

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

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

.btn-secondary:hover {
    background-color: #545b62;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .subscription-info {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos específicos para elementos que podem estar sendo usados */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

/* Estilo para checkboxes */
input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

label {
    cursor: pointer;
    user-select: none;
}

/* Estilo para modais */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    margin: 50px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Utilitários */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-muted {
    color: #6c757d !important;
}

.font-weight-bold {
    font-weight: bold !important;
}

.card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 20px;
}

.list-unstyled {
    list-style: none;
    padding: 0;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}