/* ============================================
   Wedding Invitation Platform — Custom Styles
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --primary: #b87e84;
    --primary-light: #d4a5aa;
    --primary-dark: #8e5d62;
    --secondary: #f5f0eb;
    --accent: #c4898f;
    --text-dark: #3d3d3d;
    --text-muted: #7a7a7a;
    --text-light: #a0a0a0;
    --bg-cream: #faf7f4;
    --bg-white: #ffffff;
    --bg-lavender: #e8e0f0;
    --border-light: #e8e0d8;
    --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 25px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 8px 30px rgba(184, 126, 132, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   Typography
   ============================================ */
.font-script {
    font-family: var(--font-heading);
}

.font-serif {
    font-family: var(--font-serif);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Flash Messages
   ============================================ */
.flash-message {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease-out;
}

.flash-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #b1dfbb;
}

.flash-message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.flash-message.warning {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    color: #856404;
    border: 1px solid #ffd86e;
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ============================================
   Auth Pages
   ============================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0eb 0%, #e8e0f0 50%, #f5f0eb 100%);
    padding: 20px;
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
}

.auth-card h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

/* ============================================
   Form Styles
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184, 126, 132, 0.15);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a7a7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(184, 126, 132, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(184, 126, 132, 0.45);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.35);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================
   Dashboard Layout
   ============================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-white);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
}

.sidebar-header p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.sidebar-nav .nav-section {
    padding: 0 16px;
    margin-bottom: 8px;
}

.sidebar-nav .nav-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    padding: 12px 12px 8px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin: 2px 12px;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    background: var(--secondary);
    color: var(--primary);
}

.sidebar-nav a.active {
    background: linear-gradient(135deg, rgba(184,126,132,0.12), rgba(196,137,143,0.08));
    color: var(--primary);
    font-weight: 600;
    border: 1px solid rgba(184,126,132,0.2);
}

.sidebar-nav a .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--primary);
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
}

.sidebar-footer .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-footer .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.sidebar-footer .user-name {
    font-weight: 600;
    font-size: 14px;
}

.sidebar-footer .user-email {
    font-size: 12px;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 32px;
    min-height: 100vh;
    background: var(--bg-cream);
}

.content-header {
    margin-bottom: 32px;
}

.content-header h1 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.content-header p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    border: 1px solid rgba(232, 224, 216, 0.5);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-medium);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
}

/* Stat Cards */
.stat-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(232, 224, 216, 0.5);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.stat-card .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Tables
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table th {
    background: var(--secondary);
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 2px solid var(--border-light);
}

.data-table th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.data-table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.data-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: rgba(184, 126, 132, 0.03);
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-accepted {
    background: #d4edda;
    color: #155724;
}

.badge-declined {
    background: #f8d7da;
    color: #721c24;
}

.badge-bride {
    background: #fce4ec;
    color: #ad1457;
}

.badge-groom {
    background: #e3f2fd;
    color: #1565c0;
}

/* ============================================
   Wedding Cards (Dashboard)
   ============================================ */
.wedding-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(232, 224, 216, 0.3);
}

.wedding-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 126, 132, 0.2);
}

.wedding-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.wedding-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wedding-card-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5));
}

.wedding-card-image .couple-names {
    position: absolute;
    bottom: 16px;
    left: 20px;
    color: white;
    font-family: var(--font-heading);
    font-size: 32px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 1;
}

.wedding-card-body {
    padding: 20px;
}

.wedding-card-body .date {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.wedding-card-body .venue {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.wedding-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.wedding-card-stats .stat {
    text-align: center;
}

.wedding-card-stats .stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.wedding-card-stats .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ============================================
   Mobile Sidebar Toggle
   ============================================ */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

/* ============================================
   Public Invitation Site Styles
   ============================================ */

/* Invitation overlay */
.invitation-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 1.2s ease, visibility 1.2s;
}

/* Background defaults to primary/accent linear gradient for fade/classic mode */
.invitation-overlay.mode-fade {
    background: linear-gradient(135deg, rgba(184,126,132,0.95), rgba(196,137,143,0.9));
}

.invitation-overlay.mode-fade.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Part style for splitting/sliding animations */
.overlay-part {
    position: absolute;
    background: linear-gradient(135deg, rgba(184,126,132,0.95), rgba(196,137,143,0.9));
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

/* Split Doors Mode (Slide Left/Right) */
.invitation-overlay.mode-split_doors .overlay-part.part-left {
    left: 0; top: 0; width: 50%; height: 100%;
    transform: translateX(0);
}
.invitation-overlay.mode-split_doors .overlay-part.part-right {
    right: 0; top: 0; width: 50%; height: 100%;
    transform: translateX(0);
}
.invitation-overlay.mode-split_doors.opened .overlay-part.part-left {
    transform: translateX(-100%);
}
.invitation-overlay.mode-split_doors.opened .overlay-part.part-right {
    transform: translateX(100%);
}

/* Curtain Lift Mode (Slide Up) */
.invitation-overlay.mode-slide_up .overlay-part.part-full {
    left: 0; top: 0; width: 100%; height: 100%;
    transform: translateY(0);
}
.invitation-overlay.mode-slide_up.opened .overlay-part.part-full {
    transform: translateY(-100%);
}

/* Envelope Vertical Split Mode (Slide Up/Down) */
.invitation-overlay.mode-envelope .overlay-part.part-top {
    left: 0; top: 0; width: 100%; height: 50%;
    transform: translateY(0);
}
.invitation-overlay.mode-envelope .overlay-part.part-bottom {
    left: 0; bottom: 0; width: 100%; height: 50%;
    transform: translateY(0);
}
.invitation-overlay.mode-envelope.opened .overlay-part.part-top {
    transform: translateY(-100%);
}
.invitation-overlay.mode-envelope.opened .overlay-part.part-bottom {
    transform: translateY(100%);
}

/* Overlay content positioning */
.overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.invitation-overlay.opened .overlay-content {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

/* Hide entire container after animation ends */
.invitation-overlay.opened {
    visibility: hidden;
    pointer-events: none;
    transition-delay: 1.2s; /* wait for doors to open before hiding clicks */
}

.invitation-overlay h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    color: white;
    margin-bottom: 16px;
}

.invitation-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.invitation-overlay .open-btn {
    padding: 16px 48px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.invitation-overlay .open-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

/* Invitation body */
.invitation-body {
    background: linear-gradient(135deg, 
        rgba(200,200,240,0.3) 0%, 
        var(--bg-cream) 20%, 
        var(--bg-cream) 80%, 
        rgba(200,200,240,0.3) 100%
    );
    min-height: 100vh;
}

/* Hero section */
.invitation-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.invitation-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.invitation-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invitation-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.invitation-hero .hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.invitation-hero .intro-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.invitation-hero .couple-name {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: 0;
}

.invitation-hero .ampersand {
    font-family: var(--font-heading);
    font-size: 42px;
    display: block;
    margin: 4px 0;
    opacity: 0.9;
}

.invitation-hero .getting-married {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 20px;
    margin-top: 16px;
    opacity: 0.9;
}

.invitation-hero .join-us {
    margin-top: 32px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    opacity: 0.8;
}

.invitation-hero .wedding-date-display {
    font-family: var(--font-serif);
    font-size: 32px;
    font-style: italic;
    margin-top: 8px;
}

.invitation-hero .venue-display {
    font-size: 16px;
    margin-top: 16px;
    opacity: 0.8;
}

.invitation-hero .hero-line {
    width: 60px;
    height: 2px;
    background: white;
    margin: 20px auto;
    opacity: 0.6;
}

.invitation-hero .hero-buttons {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.invitation-hero .hero-buttons .btn {
    min-width: 280px;
}

/* Invitation sections common */
.inv-section {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.inv-section-title {
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.inv-section-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--text-dark);
    margin-bottom: 32px;
}

/* Details section */
.details-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(184,126,132,0.15);
}

.details-card .day-name {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.details-card .date-formatted {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary);
    margin: 8px 0 24px;
}

.details-card .detail-row {
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
}

.details-card .detail-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.details-card .detail-value {
    font-size: 16px;
    font-weight: 500;
}

.details-card .venue-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(184,126,132,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 18px;
}

.details-card .venue-address {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.view-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 24px;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-xl);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Countdown section */
.countdown-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(200,200,240,0.15), transparent);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.countdown-item {
    position: relative;
    width: 100px;
    height: 100px;
}

.countdown-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(184,126,132,0.2);
}

.countdown-circle svg {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    transform: rotate(-90deg);
}

.countdown-circle svg circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.countdown-circle svg .track {
    stroke: rgba(184,126,132,0.15);
}

.countdown-circle svg .progress {
    stroke: var(--primary);
    transition: stroke-dashoffset 1s ease;
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.countdown-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* RSVP Section */
.rsvp-section {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
}

.rsvp-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.rsvp-image .rsvp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
}

.rsvp-image .rsvp-overlay h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.rsvp-image .rsvp-overlay p {
    font-family: var(--font-heading);
    font-size: 28px;
}

.rsvp-form-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(184,126,132,0.15);
}

.rsvp-form-container h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.rsvp-form-container h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.rsvp-form-container .rsvp-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.rsvp-search-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.rsvp-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184,126,132,0.4);
}

.rsvp-results {
    margin-top: 20px;
    border: 1px solid rgba(184,126,132,0.2);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.rsvp-guest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.rsvp-guest-item:last-child {
    border-bottom: none;
}

.rsvp-guest-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.rsvp-guest-item select {
    padding: 6px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-dark);
}

.rsvp-complete-btn {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.rsvp-back-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

/* Agenda / Timeline */
.agenda-section {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.timeline-item {
    position: relative;
    padding: 0 0 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-cream);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item .timeline-time {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-item .timeline-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-item .timeline-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Agenda Day Badge */
.agenda-day-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50px;
    padding: 12px 32px;
    margin: 0 auto 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.agenda-day-name {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.88;
}

.agenda-day-date {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes badgePop {
    from { opacity: 0; transform: translateX(-50%) scale(0.85); }
    to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Table Search */
.table-search-section {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.table-search-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(184,126,132,0.15);
}

.table-result {
    margin-top: 16px;
    padding: 16px;
    background: rgba(184,126,132,0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(184,126,132,0.15);
}

.table-result .table-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.table-result .table-info {
    font-size: 14px;
    color: var(--text-muted);
}

/* Gallery */
.gallery-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-grid .gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
}

.gallery-grid .gallery-item:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Special Note */
.special-note-section {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.special-note-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(184,126,132,0.15);
    text-align: center;
}

.special-note-card .note-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

.special-note-card .couple-sign {
    margin-top: 24px;
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
}

/* Invitation Footer */
.invitation-footer {
    padding: 40px 20px;
    text-align: center;
    background: var(--secondary);
    border-top: 1px solid var(--border-light);
}

.invitation-footer .powered-by {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.invitation-footer .brand-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.invitation-footer .celebrating {
    font-size: 14px;
    color: var(--text-muted);
}

.invitation-footer .celebrating span {
    color: var(--primary);
    font-weight: 600;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-buttons .btn {
    font-size: 11px;
    padding: 10px 20px;
}

.footer-contact {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-contact a {
    color: var(--text-dark);
    text-decoration: none;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.music-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(184,126,132,0.4);
    transition: var(--transition);
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(184,126,132,0.5);
}

.music-toggle.playing {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 4px 20px rgba(184,126,132,0.4); }
    50% { box-shadow: 0 4px 20px rgba(184,126,132,0.7), 0 0 0 10px rgba(184,126,132,0.1); }
    100% { box-shadow: 0 4px 20px rgba(184,126,132,0.4); }
}

/* ============================================
   Landing Page
   ============================================ */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232,224,216,0.5);
    transition: var(--transition);
}

.landing-nav .logo {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    text-decoration: none;
}

.landing-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-nav .nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.landing-nav .nav-links a:hover {
    color: var(--primary);
}

.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, var(--bg-cream) 0%, rgba(200,200,240,0.15) 50%, var(--bg-cream) 100%);
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,126,132,0.08), transparent 70%);
    top: -100px;
    right: -100px;
}

.landing-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,200,240,0.15), transparent 70%);
    bottom: -50px;
    left: -100px;
}

.landing-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.landing-hero h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.landing-hero .tagline {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.landing-hero .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features section */
.features-section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 12px;
}

.features-section .section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(232,224,216,0.5);
    text-align: center;
    transition: var(--transition);
}

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

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(184,126,132,0.12), rgba(196,137,143,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle effect for hero */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* ============================================
   Color picker
   ============================================ */
.color-picker-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-picker-group input[type="color"] {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 2px;
}

.color-picker-group input[type="text"] {
    width: 100px;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 14px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 16px;
        padding-top: 72px;
    }

    .content-header h1 {
        font-size: 22px;
    }

    .invitation-hero .couple-name {
        font-size: 48px;
    }

    .countdown-item {
        width: 80px;
        height: 80px;
    }

    .countdown-value {
        font-size: 22px;
    }

    .landing-nav {
        padding: 12px 20px;
    }

    .landing-nav .nav-links {
        gap: 16px;
    }

    .landing-hero h1 {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .invitation-hero .couple-name {
        font-size: 36px;
    }

    .inv-section-heading {
        font-size: 30px;
    }

    .countdown-grid {
        gap: 12px;
    }

    .countdown-item {
        width: 70px;
        height: 70px;
    }

    .countdown-value {
        font-size: 18px;
    }

    .countdown-label {
        font-size: 8px;
    }

    .hero-buttons .btn {
        min-width: 240px;
        font-size: 12px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .auth-card h1 {
        font-size: 34px;
    }
}

/* ============================================
   Utility
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.w-full { width: 100%; }
.hidden { display: none; }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Google-Form RSVP Style
   ============================================ */
.gform-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #202124;
    text-align: left;
}

.gform-card {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 24px 24px;
    margin-bottom: 12px;
    box-shadow: none;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gform-card.gform-header-card {
    border-top: 10px solid var(--primary);
}

.gform-card.gform-error-state {
    border-color: #d93025;
}

.gform-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #202124;
    margin: 0 0 8px 0;
}

.gform-desc {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .2px;
    line-height: 20px;
    color: #202124;
    margin: 0 0 12px 0;
}

.gform-deadline {
    font-size: 13px;
    color: #5f6368;
    margin-top: 12px;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
}

.gform-required-msg {
    font-size: 12px;
    color: #d93025;
    margin-top: 12px;
}

.gform-question-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .1px;
    line-height: 24px;
    color: #202124;
    margin-bottom: 16px;
    display: block;
}

.gform-question-title span.required-star {
    color: #d93025;
    margin-left: 3px;
}

.gform-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #dadce0;
    padding: 8px 0;
    font-size: 14px;
    color: #202124;
    background: transparent;
    outline: none;
    transition: border-bottom-color 0.2s ease;
}

.gform-input:focus {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 7px;
}

.gform-input-placeholder {
    color: #70757a;
    font-size: 14px;
    pointer-events: none;
}

/* Radio button styles */
.gform-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gform-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #202124;
    user-select: none;
}

.gform-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.gform-radio-checkmark {
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #5f6368;
    border-radius: 50%;
    margin-right: 12px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s;
}

.gform-radio-option:hover input ~ .gform-radio-checkmark {
    background-color: rgba(95, 99, 104, 0.05);
}

.gform-radio-option input:checked ~ .gform-radio-checkmark {
    border-color: var(--primary);
}

.gform-radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.gform-radio-option input:checked ~ .gform-radio-checkmark:after {
    display: block;
}

/* Select dropdown */
.gform-select {
    width: 100%;
    max-width: 180px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 10px 32px 10px 14px;
    font-size: 14px;
    background: #fff url("data:image/svg+xml;utf8,<svg fill='%235f6368' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 8px center;
    outline: none;
    color: #202124;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.gform-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(184,126,132,0.2);
}

/* Guest checkboxes (for guest_list mode) */
.gform-guest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    margin-bottom: 8px;
}

.gform-guest-item label {
    font-weight: 500;
    font-size: 14px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.gform-guest-item label input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Buttons */
.gform-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.gform-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.gform-btn:hover {
    background-color: var(--accent);
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

.gform-btn-secondary {
    background-color: transparent;
    color: #5f6368;
    border: none;
    box-shadow: none;
    padding: 10px 16px;
    font-weight: 500;
}

.gform-btn-secondary:hover {
    background-color: rgba(95, 99, 104, 0.05);
    color: #202124;
    box-shadow: none;
}

.gform-error-text {
    color: #d93025;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    visibility: hidden;
}

.gform-card.gform-error-state .gform-error-text {
    visibility: visible;
}
