/* ===== STRIPE-INSPIRED DESIGN SYSTEM ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Stripe-inspired color palette */
    --primary-color: #635bff;
    --primary-dark: #5248e5;
    --primary-light: #7a73ff;
    --primary-bg: #f6f5ff;

    --secondary-color: #0a2540;

    --success-color: #30c67c;
    --success-bg: #d4edda;
    --danger-color: #df1b41;
    --danger-bg: #fef2f4;
    --warning-color: #f7b32b;

    --text-primary: #1a1f36;
    --text-secondary: #697386;
    --text-muted: #8898aa;

    --bg-primary: #f6f9fc;
    --bg-white: #ffffff;

    --border-color: #e6e9ec;
    --border-focus: #635bff;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;

    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.app-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu.hidden {
    display: none;
}

#user-name {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--danger-bg);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover:not(:disabled) {
    border-color: var(--text-secondary);
    background: var(--bg-primary);
}

.btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

.page.hidden {
    display: none;
}

/* ===== LANDING PAGE ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 2.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.illustration-placeholder svg {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.illustration-placeholder img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* Background decorations */
.hero-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.decoration-circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    opacity: 0.1;
}

.decoration-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--success-color) 0%, transparent 70%);
    bottom: 50px;
    left: -50px;
    opacity: 0.08;
}

.decoration-circle-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    opacity: 0.06;
}

.features-section {
    padding: 4rem 0;
}

.features-section h2 {
    text-align: center;
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.15s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== DASHBOARD ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h1 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.calendars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.calendar-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.15s ease;
}

.calendar-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.calendar-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.calendar-card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.calendar-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.calendar-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.calendar-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.calendar-card-actions .btn {
    flex: 1;
    min-width: 80px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.empty-state.hidden {
    display: none;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Loading */
.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

/* Error */
.error-container {
    text-align: center;
    padding: 4rem;
}

.error-container.hidden {
    display: none;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 31, 54, 0.4);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    color: var(--secondary-color);
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-primary);
}

#create-calendar-form {
    padding: 1.5rem;
}

/* ===== SHARE MODAL ===== */
.share-modal-content {
    max-width: 520px;
}

.share-modal-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.share-link-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.share-link-box input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.share-link-box .btn {
    min-width: 80px;
    position: relative;
}

.share-link-box .copied-text {
    color: var(--success-color);
}

.share-info {
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 1rem;
    font-size: 0.9rem;
}

.share-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-info p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.share-info.info-open {
    border-left: 3px solid var(--primary-color);
}

.share-info.info-defined {
    border-left: 3px solid var(--success-color);
}

/* ===== EMAIL VERIFICATION ===== */
.verification-section {
    max-width: 450px;
    margin: 0 auto;
    padding: 2rem 0;
}

.verification-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.verification-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.verification-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.verification-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.verification-step {
    text-align: left;
}

.verification-step .form-group {
    margin-bottom: 1rem;
}

.verification-step .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.verification-step .btn-small {
    width: auto;
    margin-top: 1rem;
}

.verification-sent-msg {
    background: var(--primary-bg);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

#verification-code {
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 0.5em;
    font-weight: 600;
}

.verification-step .btn-outline {
    display: block;
    margin: 1rem auto 0;
}

/* Verified User Display */
.verified-user-info {
    background: var(--success-bg);
    border: 1px solid var(--success-color);
    border-radius: var(--radius);
    padding: 1rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.verified-name {
    font-weight: 600;
    color: var(--text-primary);
}

.verified-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0 1.75rem;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.radio-option input {
    width: auto;
    accent-color: var(--primary-color);
}

.date-range-options,
.participants-options {
    margin-bottom: 1rem;
}

.date-inputs {
    display: flex;
    gap: 1rem;
}

.date-input-group {
    flex: 1;
}

.date-input-group label {
    font-weight: 500;
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ===== PASSWORD FIELD WITH TOGGLE ===== */
.password-field {
    position: relative;
}

.password-field input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease;
}

.password-toggle:hover {
    color: var(--text-secondary);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* ===== PASSWORD VALIDATION ===== */
.password-requirements {
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius);
    font-size: 13px;
}

.password-requirements p {
    margin: 0 0 8px 0;
    font-weight: 500;
    color: var(--text-secondary);
}

.password-requirements ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.password-requirements li.valid {
    color: var(--success-color);
}

.password-requirements li .icon {
    width: 16px;
    text-align: center;
    font-size: 12px;
}

/* ===== TAGS INPUT (PARTICIPANTS) ===== */
.tags-input-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px;
    background: var(--bg-white);
    min-height: 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    cursor: text;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tags-input-container:focus-within {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-bg);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.tag-remove {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--primary-color);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.tag-remove:hover {
    opacity: 1;
    background: rgba(99, 91, 255, 0.2);
}

.tags-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 4px !important;
    min-width: 120px;
    flex: 1;
    font-size: 14px;
    background: transparent !important;
}

.tags-input:focus {
    border: none !important;
    box-shadow: none !important;
}

/* ===== CALENDAR PAGE ===== */
.calendar-page {
    max-width: 900px;
}

.calendar-header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.calendar-header-section h1 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.calendar-description {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.calendar-date-range {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
    background: var(--bg-primary);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
    font-family: var(--font-family);
}

.tab-btn:hover {
    background: var(--border-color);
}

.tab-btn.active {
    background: var(--bg-white);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-content {
    display: none;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-top: none;
}

.tab-content.active {
    display: block;
}

/* Form Section */
.form-section {
    max-width: 500px;
    margin: 0 auto;
}

.hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Selected Dates */
.selected-dates-section {
    margin-bottom: 1.5rem;
}

.selected-dates-section h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.selected-dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.date-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--danger-bg);
    color: var(--danger-color);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.date-tag-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--danger-color);
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

.date-tag-remove:hover {
    color: var(--text-primary);
}

.no-dates-message {
    color: var(--text-muted);
    font-style: italic;
}

/* Calendar Grid */
.calendar-view {
    margin-top: 2rem;
}

.calendar-month {
    margin-bottom: 2rem;
}

.calendar-month h4 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    background: var(--bg-white);
}

.calendar-day:hover {
    border-color: var(--primary-color);
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.empty:hover {
    border-color: transparent;
}

.calendar-day.unavailable {
    background: var(--danger-bg);
    color: var(--danger-color);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
}

.calendar-day .unavailable-count {
    font-size: 0.65rem;
    margin-top: 2px;
    color: var(--text-muted);
}

/* Participants List */
.participants-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius);
}

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

.participants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.participant-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.participant-badge.submitted {
    border-color: var(--success-color);
    background: var(--success-bg);
}

.participant-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.participant-badge.submitted .status-dot {
    background: var(--success-color);
}

/* Share Section */
.share-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--primary-bg);
    border-radius: var(--radius);
    text-align: center;
}

.share-section h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.share-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.share-link-container {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.share-link-container input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9rem;
    background: var(--bg-white);
}

/* Footer */
.app-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-illustration {
        order: -1;
    }

    .illustration-placeholder {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .calendar-grid {
        gap: 2px;
    }

    .calendar-day {
        font-size: 0.8rem;
    }

    .date-inputs {
        flex-direction: column;
    }

    .modal-content {
        margin: 0.5rem;
    }

    .share-link-box {
        flex-direction: column;
    }

    .share-link-box .btn {
        width: 100%;
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
