/* General Styles */
.sg-dashboard {
    display: flex;
    flex-direction: column; /* Stack columns vertically on small screens */
    margin: 20px;
    font-family: 'Arial', sans-serif;
}

.sg-left-column {
    width: 100%; /* Full width on small screens */
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Add space between columns on small screens */
}

.sg-right-column {
    width: 100%; /* Full width on small screens */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 80vh;
}

/* Left Column Menu */
.sg-left-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sg-left-column ul li {
    margin-bottom: 10px;
}

.sg-left-column ul li a {
    text-decoration: none;
    color: #5c9c6c; /* Link color */
    font-size: 16px;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sg-left-column ul li a:hover {
    background-color: #046c44; /* Link hover background */
    color: #fff; /* Link hover text color */
}

/* Right Column Content */
.sg-right-column h2 {
    color: #5c9c6c; /* Welcome message color */
    margin-bottom: 20px;
}

.sg-right-column h3 {
    color: #046c44; /* Application status color */
    margin-bottom: 15px;
}

.sg-right-column p {
    color: #333;
    line-height: 1.6;
}

/* Beneficiaries List */
.sg-approved-users ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sg-approved-users ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

.sg-approved-users ul li:last-child {
    border-bottom: none;
}

/* Buttons */
#sg-multi-step-form button,
.sg-right-column button {
    background-color: #93ac4b; /* Button color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

#sg-multi-step-form button:hover,
.sg-right-column button:hover {
    background-color: #0c7c9c; /* Button hover color */
}

/* Application Status */
.sg-right-column .approved {
    color: #046c44; /* Approved status color */
}

.sg-right-column .pending {
    color: #ff0000; /* Pending status color */
}

/* Message container */
#sg-message {
    margin: 10px 0;
}

/* Success message */
.sg-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

/* Error message */
.sg-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Info message */
.sg-info {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 10px;
    border: 1px solid #bee5eb;
    border-radius: 4px;
}

/* Responsive Styles */
@media (min-width: 768px) {
    /* Switch to horizontal layout on larger screens */
    .sg-dashboard {
        flex-direction: row; /* Side-by-side columns */
    }

    .sg-left-column {
        width: 20%; /* Smaller left column */
        margin-bottom: 0; /* Remove space between columns */
    }

    .sg-right-column {
        width: 80%; /* Larger right column */
        margin-left: 20px; /* Add space between columns */
    }
}
/* Admin Dashboard Table */
.wrap {
    padding: 20px;
}

.wrap h1 {
    color: #007bff;
    margin-bottom: 20px;
}

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

.wp-list-table th,
.wp-list-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.wp-list-table th {
    background-color: #007bff;
    color: #fff;
}

.wp-list-table tr:hover {
    background-color: #f1f1f1;
}

.wp-list-table button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.wp-list-table button:hover {
    background-color: #0056b3;
}

.wp-list-table button[onclick*="PENDING"] {
    background-color: #6c757d;
}

.wp-list-table button[onclick*="PENDING"]:hover {
    background-color: #5a6268;
}
/* Application Status Messages */
.sg-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
}

.sg-message p {
    margin: 0 0 10px;
}

.sg-message a {
    color: #0c7c9c; /* Link color */
    text-decoration: none;
    font-weight: bold;
}

.sg-message a:hover {
    color: #046c44; /* Link hover color */
}