/* Main Styles */
:root {
    --primary-color: #212529; /* Dark theme */
    --accent-color: #2196F3;  /* Accent */
    --bg-color: #f8f9fa;      /* Bg color */
    --card-radius: 12px;
}

body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Fix iOS zoom */
    -webkit-text-size-adjust: 100%; 
}

/* Utils */
.min-h-100dvh {
    /* Mobile viewport fix */
    min-height: 100dvh; 
}

.page-container {
    padding-top: 20px;
    padding-bottom: 80px; /* Scroll padding */
}

/* Cards */
.app-card {
    border: none;
    border-radius: var(--card-radius);
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.app-card:active {
    transform: scale(0.98); /* Touch feedback */
}

/* Inputs */
.form-control {
    padding: 12px 15px; /* Touch size */
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    font-size: 16px; /* No auto-zoom */
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Buttons */
.btn-primary-app {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    border: none;
}

.btn-primary-app:active {
    transform: scale(0.98);
}

/* Checkboxes */
.smooth-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 10px 0;
}

.smooth-checkbox input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.checkmark {
    height: 24px; /* Mobile size */
    width: 24px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.smooth-checkbox input:checked ~ .checkmark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    display: none;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.smooth-checkbox input:checked ~ .checkmark:after {
    display: block;
}