/* Root and body styles */
:root {
    --apple-red: #ff3b30;
    --apple-blue: #007aff;
    --text-black: #000000;
    --text-gray: #8e8e93;
    --bg-system: #efeff4; /* Classic iOS system background */
    --bg-white: #ffffff;
    --separator-color: #d1d1d6; /* More distinct separator */
    --border-radius: 14px; /* iOS alert radius */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-system);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-black);
    line-height: normal;
    text-align: center;
    padding: 20px;
}

.container {
    max-width: 340px; /* More standard alert width */
    width: 100%;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    overflow: hidden; /* For rounded corners on children */
    display: flex;
    flex-direction: column;
}

header {
    padding-top: 35px;
    padding-bottom: 10px;
}

.logo {
    width: 100px;
    height: auto;
}

main {
    padding: 15px 20px 25px 20px;
}

.alert-title {
    color: var(--apple-red);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    animation: alert-flash 1.2s infinite ease-in-out;
}

@keyframes alert-flash {
    0% { opacity: 1; text-shadow: 0 0 0px rgba(255, 59, 48, 0); }
    50% { opacity: 0.8; text-shadow: 0 0 15px rgba(255, 59, 48, 0.6); }
    100% { opacity: 1; text-shadow: 0 0 0px rgba(255, 59, 48, 0); }
}


.alert-message {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #000;
    line-height: 1.4;
}

.highlight {
    color: var(--apple-red);
    font-weight: 400;
}

.alert-description {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

.blue-text {
    color: var(--apple-blue);
    font-weight: 400;
}

footer {
    width: 100%;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: var(--separator-color);
    margin: 0;
}

.cta-button, .cancel-button {
    text-decoration: none;
    color: var(--apple-blue);
    display: block;
    transition: background-color 0.1s ease;
}

.cta-button {
    font-size: 24px;
    font-weight: 600;
    padding: 22px 0;
}

.cancel-button {
    font-size: 20px;
    font-weight: 400;
    padding: 18px 0;
}

.cta-button:active, .cancel-button:active {
    background-color: #f2f2f7;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .container {
        max-width: 330px;
    }
    .alert-title {
        font-size: 26px;
    }
    .alert-message, .alert-description {
        font-size: 16px;
    }
    .cta-button {
        font-size: 22px;
    }
    .cancel-button {
        font-size: 18px;
    }
}



