* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.header {
    padding: 40px 60px;
    font-size: 28px;
    font-weight: 500;
}

.header span {
    color: red;
}

.kali-logo {
    position: absolute;
    top: 30px;
    right: 60px;
}

.kali-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 40px 24px;
}

.main h2 {
    font-size: 36px;
    color: #444;
}

.main p {
    font-size: 16px;
    color: #777;
}

.x-circle {
    width: 64px;
    height: 64px;
    border: 3px solid red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: red;
    margin-bottom: 8px;
}

.patient-info {
    font-size: 14px;
    color: #777;
}

.provider-btn {
    display: block;
    width: 280px;
    padding: 16px 50px;
    border: 2px solid red;
    color: red;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
    transition: 0.15s;
}

.provider-btn:hover {
    background: red;
    color: white;
}



.check {
    width: 64px;
    height: 64px;
    border: 3px solid red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: red;
    margin-bottom: 8px;
}

/* Pages the webserver fills in (templates/): a provider the institution does not offer gets the hidden attribute,
   which must win over the display rules above */
[hidden] { display: none !important; }

/* Subscription page (templates/ics.html): the feed link to copy and the folded instructions for other calendar apps */
.feed-url { width: 100%; max-width: 420px; padding: 10px; font-size: 16px; border: 1px solid #888; }
.steps-box { text-align: left; max-width: 420px; }
.steps-box summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.steps { padding-left: 1.6em; line-height: 1.5; color: #444; }

/* Cancel page (templates/cancel-event.html): the confirm button is a real button, drawn like the provider links */
.cancel-form .provider-btn { background: none; cursor: pointer; }