/* --- General Styling --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #333;
    box-sizing: border-box;
}

/* --- Container --- */
.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

h2 {
    text-align: center;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
}
h2 i {
    margin-right: 10px;
    color: #007bff;
}

/* --- Dashboard Buttons --- */
.dashboard-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.dash-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.dash-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #007bff;
}
.dash-button i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #007bff;
}
.dash-button span {
    font-size: 18px;
    font-weight: 600;
}
.dash-button small {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}


/* --- Page Footer for Back and Logout --- */
.page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.back-link, .logout-link {
    text-decoration: none;
    font-weight: 600;
    color: #007bff;
    font-size: 15px;
}
.back-link:hover, .logout-link:hover {
    text-decoration: underline;
}
.back-link i {
    margin-right: 5px;
}

/* --- Form, Messages, and List Styles (mostly unchanged) --- */
.input-group, .error, .success, .audio-manage-list, .audio-item {
    /* These styles remain the same as before */
    margin-bottom: 20px;
}
.error, .success { text-align: center; padding: 12px; border-radius: 8px; }
.error { color: #D8000C; background-color: #FFD2D2; }
.success { color: #4F8A10; background-color: #DFF2BF; opacity: 1; transition: opacity 0.5s ease-in-out; }
/* --- General Styling, Container, Forms, etc. (No Changes) --- */
/* ... (your existing styles) ... */

/* --- Page Footer for Back and Logout --- */
.page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.back-link, .logout-link {
    text-decoration: none;
    font-weight: 600;
    color: #007bff;
    font-size: 15px;
}
.back-link:hover, .logout-link:hover {
    text-decoration: underline;
}
.back-link i {
    margin-right: 5px;
}

/* ▼▼▼ YAHAN BADLAV KIYA GAYA HAI ▼▼▼ */
/* Link to go back to the main site from login page */
.back-to-site-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    text-decoration: none;
    color: #888;
    font-size: 14px;
    transition: color 0.3s;
}
.back-to-site-link:hover {
    color: #007bff;
    text-decoration: underline;
}
.back-to-site-link i {
    margin-right: 5px;
}
/* ▲▲▲ BADLAV KHATAM ▲▲▲ */

/* Add other styles for forms and list here if they are not already present */
label{display:block;margin-bottom:8px;font-weight:600;color:#555}input[type=text],input[type=password],input[type=file]{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;box-sizing:border-box}input[type=submit]{width:100%;padding:14px;background-color:#007bff;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:700}.audio-item{display:flex;align-items:center;background-color:#f9f9f9;border:1px solid #eee;border-radius:8px;padding:10px;margin-bottom:10px}.item-thumb{width:50px;height:50px;border-radius:5px;object-fit:cover;margin-right:15px}.item-title{flex-grow:1;margin:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-actions{display:flex;align-items:center}.item-actions a{text-decoration:none;color:#fff;padding:5px 10px;border-radius:5px;font-size:14px;margin-left:5px;white-space:nowrap}.btn-edit{background-color:#ffc107}.btn-delete{background-color:#dc3545}.no-audio-message{text-align:center;color:#888;padding:20px}