/* Achisay Cabinet Plugin Styles */

.achisay-cabinet-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.achisay-cabinet-container h1 {
    color: #333;
    margin-bottom: 30px;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
}

.achisay-cabinet-container h2 {
    color: #555;
    margin-top: 20px;
    margin-bottom: 15px;
}

.achisay-cabinet-container h3 {
    color: #666;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Dashboard Buttons */
.dashboard-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-logout {
    background-color: #dc3545;
    color: white;
    margin-top: 20px;
}

.btn-logout:hover {
    background-color: #c82333;
}

/* Forms */
.achisay-form {
    background: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin: 20px 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    margin-top: 0;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0 0 0;
}

/* Tables */
.records-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.records-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.records-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
}

.records-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.records-table tbody tr:hover {
    background-color: #f9f9f9;
}

.records-table tbody tr:last-child td {
    border-bottom: none;
}

/* Dashboard Sections */
.leadership-dashboard,
.ogm-dashboard,
.achisai-dashboard {
    background: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.leadership-dashboard ul,
.ogm-dashboard ul,
.achisai-dashboard ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.leadership-dashboard ul li,
.ogm-dashboard ul li,
.achisai-dashboard ul li {
    margin: 5px 0;
}

.leadership-dashboard ul li a,
.ogm-dashboard ul li a,
.achisai-dashboard ul li a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.leadership-dashboard ul li a:hover,
.ogm-dashboard ul li a:hover,
.achisai-dashboard ul li a:hover {
    text-decoration: underline;
}

/* Cabinet Footer */
.cabinet-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

/* Login Required */
.achisay-login-required {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.achisay-login-required p {
    margin: 0;
}

.achisay-login-required a {
    color: #0056b3;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .achisay-cabinet-container {
        padding: 15px;
        margin: 15px auto;
    }

    .dashboard-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .records-table {
        font-size: 14px;
    }

    .records-table th,
    .records-table td {
        padding: 8px 10px;
    }
}
