/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Page styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
    padding-left:  env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Header section */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

/* Main content container */
main {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Main title */
header h1 {
    font-size: 28px;
}

/* Section headings */
main h5 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
}

/* Paragraph styling */
main p {
    font-size: 15px;
    margin-bottom: 15px;
    white-space: pre-line; /* keeps spacing from your HTML */
}

/* Lists */
main ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

main li {
    margin-bottom: 6px;
}

/* --- THE RETURN BUTTON --- */
.btn-return {
    display: block;
    width: fit-content;
    margin: 40px auto; /* Centers the button and gives it space */
    background: #ee8d10; /* Your Brand Orange */
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-return:hover {
    background: #2563eb; /* Matches your dashboard blue hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-return:active {
    transform: translateY(0);
}

/* =============================================================================
   RESPONSIVE — phones
============================================================================= */
@media (max-width: 600px) {
    header {
        padding: 22px 16px;
    }

    header h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    main {
        margin: 16px;
        padding: 20px;
        border-radius: 10px;
    }

    main h5 {
        font-size: 15px;
        margin-top: 16px;
    }

    main p {
        font-size: 14.5px;
    }

    .btn-return {
        width: 100%;
        margin: 28px 0 0 0;
        padding: 14px 20px;
        min-height: 44px;
    }
}