:root {
    --primary: #2E7D32;
    --primary-hover: #1b5e20;
    --primary-light: #E8F5E9;
    --accent: #F57C00;
    --bg-gradient-start: #E8F5E9;
    --bg-gradient-end: #C8E6C9;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-main: #1C3120;
    --text-muted: #556B59;
    --border-color: rgba(46, 125, 50, 0.15);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(46, 125, 50, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06);
    --healthy: #4CAF50;
    --danger: #D32F2F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    color: var(--text-main);
    line-height: 1.6;
}

/* Background Leaf Ornaments (CSS-only) */
body::before, body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50% 0 50% 0;
    background: rgba(46, 125, 50, 0.03);
    z-index: 0;
    pointer-events: none;
}

body::before {
    top: -50px;
    left: -50px;
    transform: rotate(15deg);
}

body::after {
    bottom: -50px;
    right: -50px;
    transform: rotate(195deg);
}

.page-container {
    width: 100%;
    max-width: 900px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 0.8s ease-out;
}

/* Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.app-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
    padding: 10px;
}

.app-logo svg {
    width: 100%;
    height: 100%;
    fill: var(--primary);
}

.app-titles h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.app-titles p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Portal Card */
.portal-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Introduction Section */
.intro-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.intro-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.intro-section p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Grid of Data Info */
.data-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.info-box {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-box.delete-box {
    border-top: 5px solid var(--danger);
}

.info-box.retain-box {
    border-top: 5px solid var(--primary);
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-box-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.delete-box .info-box-icon {
    background: #FFEBEE;
    color: var(--danger);
}

.retain-box .info-box-icon {
    background: #E8F5E9;
    color: var(--primary);
}

.info-box-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.info-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-box li {
    font-size: 14px;
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
}

.info-box li::before {
    content: '•';
    position: absolute;
    left: 5px;
    font-size: 18px;
    line-height: 1;
}

.delete-box li::before {
    color: var(--danger);
}

.retain-box li::before {
    color: var(--primary);
}

/* Interactive Form Section */
.form-section {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.form-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary);
}

.deletion-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    margin-top: 4px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.checkbox-label span strong {
    color: var(--text-main);
}

/* Submit Button & Mailto */
.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

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

/* Manual Contact Callout */
.manual-contact {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    background: var(--primary-light);
    border-radius: 18px;
    padding: 15px;
    margin-top: 10px;
}

.manual-contact a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
    transition: border-color 0.3s ease;
}

.manual-contact a:hover {
    border-color: var(--primary);
}

/* Success Card Overlay */
.success-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #E8F5E9;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}

.success-overlay h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.success-overlay p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 450px;
}

.success-overlay .mail-btn {
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(245, 124, 0, 0.25);
    transition: all 0.3s ease;
}

.success-overlay .mail-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.35);
}

/* Footer styling */
.footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Rules */
@media (max-width: 768px) {
    .data-info-grid {
        grid-template-columns: 1fr;
    }
    .portal-card {
        padding: 25px;
    }
    .app-titles h1 {
        font-size: 24px;
    }
}
