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

body {
    background-color: #e9ecef;
    color: #212529;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header & Logo */
.header-section {
    text-align: center;
    margin-bottom: 8px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 6px;
}

.resto-logo {
    width: 48px;
    height: 48px;
}

.logo-text {
    font-size: 34px;
    font-weight: 700;
    color: #1e2d4a;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 24px;
    font-weight: 300;
    color: #495057;
    letter-spacing: -0.5px;
}

/* White Card */
.card {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    margin-bottom: 8px;
}

/* Message Content */
.message-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    text-align: left;
}

.description strong {
    color: #1e2d4a;
    font-weight: 600;
}

.sub-description {
    color: #6c757d;
}

/* Action Section with Left-aligned Button */
.action-section {
    text-align: left;
    margin-top: 8px;
}

.btn-primary {
    display: inline-block;
    background-color: #0d6efd;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 4px;
    border: none;
    transition: background-color 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-primary:active {
    background-color: #0a58ca;
}

/* Card Footer (Bottom Right countdown style) */
.card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 12.5px;
    color: #6c757d;
    transition: opacity 0.3s ease;
}

#countdownSecs {
    color: #0d6efd;
    font-weight: 600;
}

.btn-cancel {
    background: none;
    border: none;
    color: #0d6efd;
    font-size: 12.5px;
    font-family: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.btn-cancel:hover {
    color: #0b5ed7;
}

/* Responsive adjustment */
@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }
    
    .logo-text {
        font-size: 30px;
    }
    
    .subtitle {
        font-size: 20px;
    }
}
