.page {
    padding: 30px;
}

.page-header {
    display: flex;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 12px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.header-filters {
    display: flex;
    gap: 10px;
}

/* .input-modern,
.select-modern {

    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: white;

} */

.modern-card {

    background: white;
    border-radius: 12px;
    padding: 20px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

}

.modern-table {

    width: 100%;
    border-collapse: collapse;

}

.modern-table th {

    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;

}

.modern-table td {

    padding: 12px;
    border-bottom: 1px solid #f3f3f3;

}

.actions {

    display: flex;
    gap: 8px;

}

.btn-primary-modern {

    background: #3490dc;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;

}

.btn-primary-modern:hover {

    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

}

.btn-secondary-modern {

    background: white;
    color: #3490dc;
    border: 1px solid #3490dc;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;

}

.btn-secondary-modern:hover {

    background: #3490dc;
    color: white;
    text-decoration-line: none;
    transform: translateY(-1px);

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

}

.btn-edit {

    background: #3490dc;
    color: white;
    border: 1px solid #3490dc;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;

}

.btn-edit:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.btn-delete {

    background: white;
    color: #e3342f;
    border: 1px solid #e3342f;
    padding: 6px 12px;
    border-radius: 6px;

}

.btn-delete:hover {
    opacity: 1;
    transform: scale(1.05);
    background-color: #e3342f;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.empty {

    text-align: center;
    padding: 20px;
    color: #999;

}

.status-dot {

    height: 12px;
    width: 12px;
    border-radius: 50%;

}

.link-modern {

    color: #3490dc;
    text-decoration: none;

}

.pagination-modern {

    margin-top: 20px;
    display: flex;
    justify-content: center;

}

.btn-link {
    background: none;
    border: none;
    color: #3490dc;
}

.download-link {

    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #3490dc;
    text-decoration: none;
    font-weight: 500;

}

.download-link:hover {

    transform: translateY(-1px);
    opacity: 0.85;

}

.modern-filter {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    min-width: 180px;
}

.modern-input,
.modern-select,
.input-modern,
.select-modern {
    /* width: 100%; */
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    transition: 0.2s ease;
    min-width: 200px;
    max-width: 220px;
}

.modern-input:focus,
.modern-select:focus,
.input-modern:focus,
.select-modern:focus {
    border-color: #3490dc;
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.page-subtitle {
    color: #6c757d;
    font-size: 14px;
}

.card-content-modern {
    padding: 30px;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.welcome-title {
    font-size: 20px;
    font-weight: 600;
}

.welcome-text {
    color: #6c757d;
}

.welcome-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-secondary-modern {
    background: #f1f3f5;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-secondary-modern:hover {
    background: #e2e6ea;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.menu-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    border: 1px solid #eee;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.menu-icon svg {
    width: 32px;
    height: 32px;
    stroke: #3490dc;
    margin-bottom: 12px;
}

.menu-title {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.page-subtitle {
    font-size: 14px;
    color: #6c757d;
}

/* Container */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Item */
.nav-item-modern {
    list-style: none;
}

/* Link */
.nav-link-modern {
    position: relative;
    display: inline-block;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
}

/* Hover */
.nav-link-modern:hover {
    /* background: rgba(79, 70, 229, 0.08); */
    color: #3490dc;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Linha animada */
.nav-link-modern::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background: #3490dc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-modern:hover::after {
    width: 60%;
}

/* Estado ativo */
.nav-link-modern.active {
    background: rgba(79, 70, 229, 0.12);
    color: #3490dc;
}

/* Centralização vertical */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    max-width: 420px;
}

/* Card */
.login-card {
    padding: 40px;
    border-radius: 14px;
}

/* Header */
.login-header {
    margin-bottom: 25px;
}

.page-subtitle {
    color: #6c757d;
    font-size: 14px;
}

/* Form */
.form-modern {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    
    width: 100%;
}

.form-modern label {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
}


.input-modern-login {
    width: 100%;              /* 👈 força ocupar tudo */
    display: block;           /* 👈 evita comportamento inline */
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;   /* 👈 impede overflow */
}


.input-modern-login:focus {
    outline: none;
    border-color: #3490dc;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Erro */
.error-modern {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Remember */
.remember-modern {
    margin-bottom: 20px;
    font-size: 13px;
}

/* Botões */
.login-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.full-width {
    width: 100%;
}

.small-link {
    font-size: 13px;
    text-align: center;
}