/* PORTAL-SPECIFIC STYLES */

.portal-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    min-height: 60vh;
}

.portal-login {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.portal-login h2 {
    text-align: center;
    margin-bottom: 20px;
}

.portal-section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.portal-section h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.summary-box {
    background-color: var(--light);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.summary-box h3 {
    margin-bottom: 10px;
}

.summary-figure {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.portal-nav-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: bold;
}

/* TABLE STYLES */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--light);
}

.status-confirmed {
    color: #28a745;
    font-weight: bold;
}

.status-completed {
    color: #6c757d;
}

.status-pending {
    color: #ffc107;
    font-weight: bold;
}

.status-paid {
    color: #28a745;
}

/* SMALL BUTTONS FOR TABLE ACTIONS */
.btn-small {
    padding: 5px 10px;
    font-size: 0.8rem;
}
