/* Add a classes witch are responsive and define a grid layout */
/* Base grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    /* default: 1 column (mobile narrow) */
    gap: 1rem;
    /* space between items */
    align-items: start;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    /* default: 1 column (mobile narrow) */
    gap: 1rem;
    /* space between items */
    align-items: start;
}

.btn-cancel {
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-cancel:hover {
    background: #e5e7eb;
}

.btn-submit {
    background: #059669;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #047857;
}

.btn-delete {
    padding: 0.75rem 1.5rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-delete:hover {
    background: #b91c1c;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}



.grid-item {
    width: 100%;
}

.position-end {
    justify-self: end;
}

.position-center {
    justify-self: center;
}

.max-width-100 {
    max-width: 100% !important;
}


/* Main content positioning for sidebar layout */
.main-content {
    margin-left: 280px;
    padding: 1rem;
    min-height: 100vh;
    background: #f7f7f7;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000000;
    font-size: 1rem;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

.pointer {
    cursor: pointer;
}

/* layout text sizes responsive */

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-span {
    font-size: 0.875rem;
}

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

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

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

.text-white {
    color: #ffffff;
}

.text-gray-600 {
    color: #6b7280;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-rose-600 {
    color: #e11d48;
}

.text-rose-100 {
    color: #ffe4e6;
}

.text-black {
    color: #000000;
}


.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-rose-50 {
    background-color: #fff1f2;
}

.bg-rose-100 {
    background-color: #ffe4e6;
}

.bg-rose-600 {
    background-color: #e11d48;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem !important;
}

.p-5 {
    padding: 1.25rem !important;
}

.p-6 {
    padding: 1.5rem !important;
}

.p-7 {
    padding: 2rem !important;
}

.p-8 {
    padding: 2.5rem !important;
}

.p-9 {
    padding: 3rem !important;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-7 {
    margin-bottom: 2rem;
}

.mb-8 {
    margin-bottom: 2.5rem;
}

.mb-9 {
    margin-bottom: 3rem;
}

.mb-10 {
    margin-bottom: 3.5rem;
}


.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mr-5 {
    margin-right: 1.25rem;
}

.mr-6 {
    margin-right: 1.5rem;
}

.mr-7 {
    margin-right: 2rem;
}

.mr-8 {
    margin-right: 2.5rem;
}

.mr-9 {
    margin-right: 3rem;
}

.mr-10 {
    margin-right: 3.5rem;
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

.ml-4 {
    margin-left: 1rem;
}

.ml-5 {
    margin-left: 1.25rem;
}

.ml-6 {
    margin-left: 1.5rem;
}

.ml-7 {
    margin-left: 2rem;
}

.ml-8 {
    margin-left: 2.5rem;
}

.ml-9 {
    margin-left: 3rem;
}

.ml-10 {
    margin-left: 3.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-7 {
    margin-top: 2rem;
}

.mt-8 {
    margin-top: 2.5rem;
}

.mt-9 {
    margin-top: 3rem;
}

.mt-10 {
    margin-top: 3.5rem;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-3 {
    padding-top: 0.75rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-5 {
    padding-top: 1.25rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-7 {
    padding-top: 2rem;
}

.pt-8 {
    padding-top: 2.5rem;
}

.pt-9 {
    padding-top: 3rem;
}

.pt-10 {
    padding-top: 3.5rem;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-3 {
    padding-bottom: 0.75rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-5 {
    padding-bottom: 1.25rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.pb-7 {
    padding-bottom: 2rem;
}

.pb-8 {
    padding-bottom: 2.5rem;
}

.pb-9 {
    padding-bottom: 3rem;
}

.pb-10 {
    padding-bottom: 3.5rem;
}

.pr-1 {
    padding-right: 0.25rem;
}

.pr-2 {
    padding-right: 0.5rem;
}

.pr-3 {
    padding-right: 0.75rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pr-5 {
    padding-right: 1.25rem;
}

.pr-6 {
    padding-right: 1.5rem;
}

.pr-7 {
    padding-right: 2rem;
}

.pr-8 {
    padding-right: 2.5rem;
}

.pr-9 {
    padding-right: 3rem;
}

.pr-10 {
    padding-right: 3.5rem;
}

.pl-1 {
    padding-left: 0.25rem;
}

.pl-2 {
    padding-left: 0.5rem;
}

.pl-3 {
    padding-left: 0.75rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pl-5 {
    padding-left: 1.25rem;
}

.pl-6 {
    padding-left: 1.5rem;
}

.pl-7 {
    padding-left: 2rem;
}

.pl-8 {
    padding-left: 2.5rem;
}

.pl-9 {
    padding-left: 3rem;
}

.pl-10 {
    padding-left: 3.5rem;
}

.border {
    border: 1px solid #d1d5db;
}

.border-b-1 {
    border-bottom: 1px solid #d1d5db;
}

.border-b-2 {
    border-bottom: 2px solid #d1d5db;
}

.border-b-3 {
    border-bottom: 3px solid #d1d5db;
}

.border-radius-0 {
    border-radius: 0 !important;
}



.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

/* Navigation */
.nav {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #f3f4f6;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-brand {
    text-decoration: none;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.nav-link:hover {
    color: #111827;
}

.btn-secondary {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Tier Bar */
.tier-bar {
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.tier-bar .container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.tier-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    color: #111827;
    transition: all .15s ease-in-out;
}

.tier-pill:hover {
    transform: translateY(-1px);
}

.tier-pill.rose {
    background: #ffbdc2;
}

.tier-pill.blue {
    background: #c5deff;
}

.tier-pill.purple {
    background: #ddd6fe;
}

/* Role Modal */
.role-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 40;
    transition: opacity 0.3s ease;
}

.role-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
}

.role-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 32px;
    width: 100%;
    max-width: 1000px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.role-modal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.role-modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.role-modal-subtitle {
    color: #64748b;
    font-size: 1.25rem;
    font-weight: 500;
}

.role-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.role-modal-close:hover {
    background: #f8fafc;
    color: #0f172a;
    transform: rotate(90deg);
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 860px) {
    .role-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .role-modal-content {
        padding: 2rem;
    }
}

.role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 3rem 2rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.role-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.role-card:hover .role-icon {
    transform: scale(1.1) rotate(5deg);
}

.role-text {
    width: 100%;
}

.role-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.role-desc {
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Role variants */
/* Couples */
.role-card.role-couples {
    background: linear-gradient(145deg, #fff, #fff0f5);
    border-color: #fce7f3;
}

.role-card.role-couples:hover {
    border-color: #ec4899;
    background: linear-gradient(145deg, #fff, #fce7f3);
}

.role-card.role-couples .role-icon {
    background: #fce7f3;
    color: #be185d;
}

.role-card.role-couples .role-title {
    color: #be185d;
}

/* Planners */
.role-card.role-planners {
    background: linear-gradient(145deg, #fff, #f0f9ff);
    border-color: #e0f2fe;
}

.role-card.role-planners:hover {
    border-color: #3b82f6;
    background: linear-gradient(145deg, #fff, #e0f2fe);
}

.role-card.role-planners .role-icon {
    background: #e0f2fe;
    color: #1d4ed8;
}

.role-card.role-planners .role-title {
    color: #1d4ed8;
}

/* Vendors */
.role-card.role-vendors {
    background: linear-gradient(145deg, #fff, #f5f3ff);
    border-color: #ede9fe;
}

.role-card.role-vendors:hover {
    border-color: #8b5cf6;
    background: linear-gradient(145deg, #fff, #ede9fe);
}

.role-card.role-vendors .role-icon {
    background: #ede9fe;
    color: #6d28d9;
}

.role-card.role-vendors .role-title {
    color: #7c3aed;
}


/* Generic card styles (centralized) */
.card {
    background: #ffffff;
    border-radius: 5px;


}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.card-body {
    padding: 1rem;
}

.card-header-title {
    display: flex;
}

.card-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

@media (hover: hover) {
    .card:hover .card-header-actions {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (hover: none) {
    .card .card-header-actions {
        opacity: 1;
        pointer-events: auto;
    }
}

.card-title {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #e0f2fe;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Components: Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #e11d48;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #be185d;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Components: Forms */
input,
textarea,
select {
    font-family: inherit;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}



/* Components: Cards */
.hero-content {
    padding: 5rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Features section */
.features {
    padding: 5rem 0;
    background-color: #ffffff;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.features-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto 4rem;
}

/* Layout: Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: #ffe4e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: #e11d48;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #6b7280;
}

/* CTA section */
.cta {
    background-color: #e11d48;
    padding: 4rem 0;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #ffe4e6;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    color: #ffffff;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}


.page-header {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}


/* Print styles */
@media print {

    .page-header,
    .timeline-form,
    .share-banner,
    .event-actions,
    .event-edit-form,
    .card-title-actions {
        display: none;
    }
}

/* Responsive design */
@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-title {
        font-size: 3rem;
    }
}





@media (min-width: 768px) {
    .card-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .card-items--wide {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .card-items--two-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-items--one-col {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: flex;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .features-title {
        font-size: 2.25rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .card-items--two-col {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .container {
        padding: 2rem;
    }

    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 425px) {
    .modal-content {
        padding: 10px !important;
        width: 95%;
    }

    .form-group {
        padding: 0 0.5rem !important;
    }

    .guest-management {
        padding: 1rem 0.8rem !important;
    }

    .form-actions {
        flex-direction: column;
    }

    .card-items {
        justify-items: start !important;
        grid-template-columns: 1fr !important;
        gap: 0.2rem !important;
    }
}

/* Components: Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;

}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    min-width: 260px;
    max-width: 360px;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    color: #ffffff;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: #166534;
}

.toast-error {
    background: #991b1b;
}

.toast-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

/* Components: Modals (base) */
/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

#feedback-modal.modal {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

#feedback-modal.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}



/* Components: Cards (Unified Item) */
.card-item {
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-icon {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
}

.item-number {
    font-weight: 700;
    color: #1f2937;
    text-align: center;
}

.item-title {
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-align: center;
}

.item-label {
    color: #000000;
    text-align: center;
}

.item-edit-icon {
    opacity: 0.7;
    cursor: pointer;
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.item-edit-icon:hover {
    opacity: 1;
}

.item-number-input {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

/* Components: Card Lists (Unified Container) */
.card-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-content: space-around;
    align-items: center;
    justify-items: center;
}


.card-items--compact {
    gap: 1rem;
}





.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.project-card .project-card-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.project-card .item-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon Color Variants */
.item-icon.pink {
    background-color: #fce7f3;
    color: #db2777;
}

.item-icon.purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.item-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.item-icon.yellow {
    background-color: #fef3c7;
    color: #d97706;
}

.item-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.project-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 1.25rem;
}

.project-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.project-meta {
    color: #6b7280;
    font-size: 0.9rem;
}

.hero-content {
    position: relative;
    overflow: hidden;
    height: 70vh;
}

.hero-video {
    position: absolute;
    inset: 0
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 76%)
}

.hero-content .container {
    position: relative;
    z-index: 1
}

.hero-content .hero-title {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .6)
}

.hero-content .hero-subtitle {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .6)
}

/* Unified action buttons */
.edit-button,
.delete-button,
.add-button,
.send-invitation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #656565;
    padding: 5px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.edit-button:hover,
.delete-button:hover,
.add-button:hover,
.send-invitation-btn:hover {
    color: #ffffff;
}

.edit-button:hover {
    background: #4f6fff;
}

.add-button:hover {
    background: #059669;
}

.delete-button:hover {
    background: #ff0000;
}

.send-invitation-btn:hover {
    background: #019c1b;
}

.add-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-align: center;
}

.add-button-description {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.edit-button svg,
.delete-button svg,
.add-button svg {
    width: 14px;
    height: 14px;
}

.edit-button i,
.delete-button i,
.add-button i,
.send-invitation-btn i {
    font-size: 14px;
    line-height: 14px;
}

@media (max-width: 640px) {
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}



.add-button.large {
    width: auto;
    height: auto;
    padding: 12px 24px;
    gap: 8px;
    border-radius: 8px;
    font-weight: 600;
}

.add-button.primary {
    background: #059669;
    color: #fff;
}

.add-button.primary:hover {
    background: #047857;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.add-category-card {
    border: 2px dashed #d1d5db;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
    padding: 1.5rem;
}


.progress-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.progress-percentage {
    font-size: .875rem;
    font-weight: 700;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    margin-top: .5rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: #00a72582;
    border-radius: 6px;
    transition: width .3s ease;
}
