/* Small pill button (top bar, toolbars) */
.btn {
    padding: 8px 16px;
    background: white;
    color: #004aad;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-primary {
    background: #004aad;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #003a8c;
    color: white;
}

.btn-warning {
    background: #f59e0b;
    color: white;
    border: none;
}

.btn-warning:hover {
    background: #d97706;
    color: white;
}

.btn-danger {
    background: #fee2e2;
    color: #991b1b;
}

.btn-danger:hover {
    background: #fecaca;
}

/* Full-width form submit button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #004aad;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #003a8c;
}

/* Translucent button on a blue background */
.btn-ghost {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: white;
    color: #004aad;
}

.btn-back {
    padding: 12px 20px;
    background: white;
    color: #64748b;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.btn-back:hover { color: #004aad; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* Icon-only button */
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 2px;
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 1;
}

.btn-icon:hover {
    background: #f1f5f9;
}

/* Text links */
.link-cancel {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
}

.link-cancel:hover {
    color: #1e293b;
}

.link-muted {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #64748b;
    text-decoration: none;
}

.link-muted:hover {
    color: #004aad;
}
