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

:root {
    --primary: #108082;
    --primary-dark: #0d6668;
    --yellow: #ffff00;
    --danger: #dc2626;
    --danger-dark: #b91c1c;
    --white: #ffffff;
    --text: #111827;
    --muted: #667085;
    --border: #e5e7eb;
    --soft: #f8fafc;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 28%),
        linear-gradient(135deg, #0d6668, #108082, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.logout-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.logout-card {
    width: 100%;
    max-width: 470px;
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    padding: 36px;
    text-align: center;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .25);
    position: relative;
    overflow: hidden;
}

.logout-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 180px;
    height: 180px;
    background: rgba(16,128,130,.12);
    border-radius: 50%;
}

.brand-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.petro-logo {
    width: 105px;
    background: #fff;
    border-radius: 50px;
    padding: 6px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.brand-area span {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.icon-box {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fee2e2, #fff1f2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 32px;
    color: var(--danger);
}

.logout-card h1 {
    color: var(--text);
    font-size: 32px;
    margin-bottom: 10px;
}

.sub-text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.user-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    text-align: left;
    margin-bottom: 18px;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(16,128,130,.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-box strong {
    display: block;
    color: var(--text);
    font-size: 16px;
}

.user-box span {
    color: var(--muted);
    font-size: 13px;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 26px;
}

.security-note i {
    color: var(--primary);
}

.btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btn {
    height: 52px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .25s ease;
}

.btn.secondary {
    background: #eef2f7;
    color: #334155;
}

.btn.secondary:hover {
    background: #e2e8f0;
}

.btn.danger {
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    color: white;
}

.btn.danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(220,38,38,.25);
}

.btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

@media(max-width: 576px) {
    body {
        padding: 14px;
    }

    .logout-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .logout-card h1 {
        font-size: 27px;
    }

    .brand-area {
        flex-direction: column;
        gap: 8px;
    }

    .petro-logo {
        width: 95px;
    }

    .btn-group {
        grid-template-columns: 1fr;
    }

    .btn {
        height: 50px;
    }
}