/* ==========================================================
   GLOBAL STYLES — Sposiwebsite
   Shared for Admin + Sposi Area
   ----------------------------------------------------------
   Author: Bahamamore Studio
   ========================================================== */

/* ---------- RESET & BASE ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- GLOBAL ELEMENTS ---------- */
.btn-main {
    background-color: #425057;
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-main:hover {
    background-color: #2f3b46;
    color: #fff;
}

.btn-light {
    background-color: #f2f3f5;
    color: #425057;
    border-radius: 8px;
    border: 1px solid #d8dadb;
    padding: 10px 18px;
}
.btn-light:hover {
    background-color: #e9ecef;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease;
}
.card:hover {
    transform: translateY(-4px);
}

/* ---------- HEADERS ---------- */
.header {
    background: #425057;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header h4 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.header a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}
.header a:hover {
    text-decoration: underline;
}

/* ---------- ALERTS & TOASTS ---------- */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}
.toast-message {
    background: #425057;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-main,
    .btn-light {
        width: 100%;
        margin-bottom: 8px;
    }
}
