/* =========================================================
   FRESH AZURE BLUE – SaaS UI
   Clean • Bright • Trustworthy • Modern
========================================================= */

/* ------------------ Reset ------------------ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ------------------ Base ------------------ */
body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 65%);
    color: #0f172a;
    line-height: 1.65;
}

/* ------------------ Layout ------------------ */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px;
}

/* ------------------ Header ------------------ */
header {
    background: linear-gradient(90deg, #0078d4, #1a8cff);
    color: #ffffff;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header strong {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

header nav a {
    color: #ffffff;
    margin-left: 16px;
    font-weight: 500;
}

/* ------------------ Typography ------------------ */
h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #0f172a;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f3c68;
}

p {
    font-size: 16px;
    color: #334155;
    margin-bottom: 14px;
}

.text-muted {
    color: #475569;
}

/* ------------------ Buttons ------------------ */
.button {
    display: inline-block;
    background: linear-gradient(90deg, #0078d4, #2493ff);
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0,120,212,0.35);
    transition: all 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,120,212,0.45);
    text-decoration: none;
}

/* Secondary button */
.button-secondary {
    background: #ffffff;
    color: #0078d4;
    border: 1px solid #cfe3ff;
    box-shadow: none;
    margin-left: 10px;
}

.button-secondary:hover {
    background: #f0f7ff;
    transform: translateY(-1px);
}

/* ------------------ Main / Hero ------------------ */
main {
    padding-top: 70px;
}

/* ------------------ Lists ------------------ */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    color: #334155;
}

/* ------------------ Cards ------------------ */
.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #e6efff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

/* ------------------ Grid ------------------ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ------------------ Tables ------------------ */
table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
}

th {
    background: #eaf3ff;
    color: #0f3c68;
    padding: 16px;
    font-weight: 600;
    text-align: left;
}

td {
    padding: 16px;
    border-top: 1px solid #eef2f9;
}

tr:hover td {
    background: #f7fbff;
}

/* ------------------ Forms ------------------ */
input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #cfe3ff;
    font-size: 14px;
    background-color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2493ff;
    box-shadow: 0 0 0 4px rgba(36,147,255,0.25);
}

textarea {
    resize: vertical;
}

/* ------------------ Status Colors ------------------ */
.status-new {
    color: #0078d4;
    font-weight: 600;
}

.status-followup {
    color: #ca8a04;
    font-weight: 600;
}

.status-closed {
    color: #15803d;
    font-weight: 600;
}

/* ------------------ Alerts ------------------ */
.alert-success {
    background: #e8f5ec;
    color: #14532d;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.alert-error {
    background: #feecec;
    color: #7f1d1d;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

/* ------------------ Footer ------------------ */
footer {
    background: #f4f8ff;
    margin-top: 90px;
    padding: 36px 0;
    border-top: 1px solid #e6efff;
}

footer .container {
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* ------------------ Utilities ------------------ */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
