/* General Reset & Typography */
:root {
    --primary: #2563eb;
    --danger: #dc2626;
    --success: #16a34a;
    --bg: #f8fafc;
    --text: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

h1, h2, h3 { color: #0f172a; }

/* Forms & Inputs */
input[type="text"], 
input[type="email"], 
input[type="password"], 
textarea, 
select {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px 0;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    box-sizing: border-box; /* Important for width */
}

/* Buttons */
button, .btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

button { background-color: var(--primary); color: white; }
.btn-delete { background-color: var(--danger); color: white; }
.btn-view { background-color: #64748b; color: white; }
.btn-email { background-color: var(--success); color: white; }

button:hover, .btn:hover { opacity: 0.8; }

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

th { background-color: #f1f5f9; }

/* Navigation & Alerts */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #dcfce7;
    color: #166534;
}