:root {
    --bg-color: #ffffff;
    /* White to blend with logo */
    /* Darker slate for contrast */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --warning-bg: #fff7ed;
    --warning-border: #fdba74;
    --warning-text: #9a3412;
    --card-bg: #ffffff;
    --tips-bg: #f0fdf4;
    /* Light green tint for Tips */
    --tips-text: #166534;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.4;
    height: 100vh;
    /* Force full height */
    overflow: hidden;
    /* Prevent scrolling */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.page-container {
    width: 100%;
    max-width: 960px;
    /* Narrower width */
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

/* Header */
.main-header {
    text-align: center;
    margin-bottom: 0;
    /* Removed margin to reduce space to shield */
    flex-shrink: 0;
}

.logo-img {
    height: 26px;
    width: auto;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.hero-icon-container {
    width: 80px;
    /* Increased size */
    height: 80px;
    /* Increased size */
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 0.5rem;
}

.hero-icon-img {
    width: 42px;
    /* Increased size */
    height: auto;
}

.hero-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.hero-text p {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Main Card */
.main-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    overflow: hidden;
    margin-bottom: 0.75rem;
    /* Tighter margin */
    flex: 0 1 auto;
    /* Don't stretch to fill space */
    /* Allow card to take available space */
    max-height: 65vh;
    /* Cap height to ensure footer fits */
}

.card-column {
    padding: 1.25rem;
    /* Reduced padding further */
    flex: 1;
    overflow-y: auto;
    /* Allow internal scrolling if absolutely necessary */
}

.left-column {
    background: #fff;
    flex: 1.2;
}

.right-column {
    background: var(--tips-bg);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.card-column h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    /* Reduced margin */
    color: var(--text-primary);
}

/* Warning Box */
.warning-box {
    background-color: var(--warning-bg);
    border-left: 3px solid #f97316;
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    /* Reduced margin */
    align-items: flex-start;
}

.warning-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.warning-content {
    font-size: 0.9rem;
    /* Increased font size */
    color: var(--warning-text);
    line-height: 1.5;
}

/* Info Lists */
.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Increased spacing */
}

.info-list li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.list-icon {
    color: var(--accent-blue);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-list p {
    font-size: 0.95rem;
    /* Increased font size */
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Tips Section */
.tips-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    /* Reduced margin */
}

.tips-icon {
    font-size: 1.1rem;
    color: #15803d;
    /* Green */
}

.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Increased spacing */
}

.tip-item {
    display: flex;
    gap: 0.5rem;
}

.tip-icon-box {
    width: 20px;
    height: 20px;
    background: rgba(21, 128, 61, 0.1);
    color: #15803d;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-content strong {
    display: block;
    font-size: 0.85rem;
    color: #15803d;
    margin-bottom: 0;
}

.tip-content p {
    font-size: 0.9rem;
    /* Increased font size */
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Bottom Section */
.bottom-section {
    text-align: center;
    background: #fff;
    padding: 1rem;
    /* Slightly more padding for "designed" look */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Enhanced shadow */
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.bottom-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.action-buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-action {
    padding: 0.75rem 1.5rem;
    /* Larger, more clickable area */
    border-radius: 8px;
    /* Softer corners */
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover));
    /* Gradient */
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: #fff;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: #1f2937;
}

.recommendation-text {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.thank-you-note-bottom {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
}

/* Footer */
.main-footer {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    body {
        height: auto;
        overflow: auto;
    }

    .page-container {
        height: auto;
    }

    .main-card {
        flex-direction: column;
        max-height: none;
    }

    .right-column {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .action-buttons-container {
        flex-direction: column;
    }

    .recommendation-text {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
