
/* UI Variables for the KAAT-S Theme */
:root {
    --kaauh-teal: #00636e;
    --kaauh-teal-dark: #004a53;
    --kaauh-border: #eaeff3;
    --kaauh-primary-text: #343a40;
    --kaauh-gray: #6c757d;

    /* Status Colors for alerts/messages */
    --kaauh-success: var(--kaauh-teal);
    --kaauh-danger: #dc3545;
    --kaauh-info: #17a2b8;
}

/* CONTAINER AND CARD STYLING */
.container {
    padding: 2rem 1rem;
}
.card {
    border: 1px solid var(--kaauh-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    max-width: 600px;
    margin: 0 auto; /* Center the card */
    padding: 1.5rem;
}

/* HEADER STYLING (The section outside the card) */
.header {
    text-align: center;
    margin-bottom: 2rem;
}
.header h1 {
    font-size: 2rem;
    color: var(--kaauh-teal-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.header p {
    color: var(--kaauh-gray);
    font-size: 1rem;
}

/* CARD TITLE STYLING */
.card-title {
    font-size: 1.25rem;
    color: var(--kaauh-teal-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--kaauh-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

/* FORM STYLING */
.form-row {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-weight: 600;
    color: var(--kaauh-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--kaauh-primary-text);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--kaauh-border);
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-input:focus {
    border-color: var(--kaauh-teal);
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(0, 99, 110, 0.25);
}
input[type="datetime-local"] {
    font-family: inherit;
}

/* MESSAGES/ALERTS STYLING */
.messages {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.alert-success {
    color: white;
    background-color: var(--kaauh-success);
    border-color: var(--kaauh-success);
}
.alert-danger {
    color: white;
    background-color: var(--kaauh-danger);
    border-color: var(--kaauh-danger);
}
.alert-info {
    color: white;
    background-color: var(--kaauh-info);
    border-color: var(--kaauh-info);
}

/* BUTTON STYLING */
.actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}
.btn-base {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Primary Action Button (Update) */
.btn-main-action {
    background-color: var(--kaauh-teal);
    border-color: var(--kaauh-teal);
    color: white;
}
.btn-main-action:hover {
    background-color: var(--kaauh-teal-dark);
    border-color: var(--kaauh-teal-dark);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: white;
}

/* Secondary Button (Cancel) */
.btn-kaats-outline-secondary {
    color: var(--kaauh-secondary);
    border-color: var(--kaauh-secondary);
    background-color: transparent;
}
.btn-kaats-outline-secondary:hover {
    background-color: var(--kaauh-secondary);
    color: white;
    border-color: var(--kaauh-secondary);
}
