.epro-auth-wrap {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #111827);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epro-auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.epro-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.epro-auth-header h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
    color: #111827;
}

.epro-auth-header p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
}

.epro-auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.epro-auth-form button {
    width: 100%;
    padding: 14px 16px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    cursor: pointer;
}

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

.epro-alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.epro-alert-success {
    background: #dcfce7;
    color: #166534;
}

.epro-panel-wrap {
    min-height: 100vh;
    background: #f1f5f9;
    padding: 24px;
}

.epro-panel-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.epro-sidebar {
    background: linear-gradient(180deg, var(--epro-primary), #111827);
    color: #fff;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 48px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.epro-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.epro-brand img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 16px;
    background: #fff;
}

.epro-brand-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.epro-brand strong {
    display: block;
    font-size: 18px;
}

.epro-brand span {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-top: 2px;
}

.epro-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.epro-menu a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 14px;
    transition: 0.2s ease;
    background: rgba(255,255,255,0.04);
}

.epro-menu a:hover,
.epro-menu a.ativo {
    background: linear-gradient(90deg, var(--epro-secondary), rgba(255,255,255,0.12));
    color: #fff;
}

.epro-sidebar-footer {
    margin-top: auto;
    padding-top: 24px;
}

.epro-logout {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.epro-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.epro-topbar {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.epro-topbar h1 {
    margin: 0 0 8px 0;
    font-size: 30px;
    color: #0f172a;
}

.epro-topbar p {
    margin: 0;
    color: #64748b;
}

.epro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.epro-card {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
    border-left: 6px solid var(--epro-secondary);
}

.epro-card span {
    display: block;
    color: #64748b;
    margin-bottom: 8px;
}

.epro-card strong {
    display: block;
    font-size: 34px;
    color: #0f172a;
}

.epro-box {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.epro-box h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #0f172a;
}

.epro-box-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.epro-box-header h2 {
    margin: 0 0 6px 0;
}

.epro-box-header p {
    margin: 0;
    color: #64748b;
}

.epro-search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.epro-search-form input {
    min-width: 240px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
}

.epro-search-form button {
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(90deg, var(--epro-primary), var(--epro-secondary));
    color: #fff;
    font-weight: 600;
}

.epro-resumo-marca {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.epro-table-wrap {
    overflow: auto;
}

.epro-table {
    width: 100%;
    border-collapse: collapse;
}

.epro-table th,
.epro-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    vertical-align: middle;
}

.epro-table th {
    background: #f8fafc;
    color: #334155;
}

.epro-table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.epro-btn-small {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.epro-btn-edit {
    background: #dbeafe;
    color: #1d4ed8;
}

.epro-btn-delete {
    background: #fee2e2;
    color: #b91c1c;
}

.epro-btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    background: #e2e8f0;
    color: #334155;
    font-weight: 600;
}

.epro-empty {
    color: #64748b;
    margin: 0;
}

.epro-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.epro-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.epro-field-full {
    grid-column: 1 / -1;
}

.epro-field label {
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.epro-field input,
.epro-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

.epro-field input[type="color"] {
    padding: 6px;
    height: 52px;
}

.epro-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.epro-actions button {
    padding: 14px 22px;
    background: linear-gradient(90deg, var(--epro-primary), var(--epro-secondary));
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .epro-panel-container {
        grid-template-columns: 1fr;
    }

    .epro-sidebar {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .epro-panel-wrap {
        padding: 14px;
    }

    .epro-auth-card,
    .epro-topbar,
    .epro-box,
    .epro-card,
    .epro-sidebar {
        border-radius: 18px;
    }

    .epro-form-grid {
        grid-template-columns: 1fr;
    }

    .epro-topbar h1 {
        font-size: 24px;
    }

    .epro-search-form input {
        min-width: 100%;
    }
}