/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:host, :root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.1);
    --secondary: #a855f7;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.75);
    --border-color: rgba(226, 232, 240, 0.8);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --sidebar-width: 260px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:host {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Auth Page layout */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    transition: var(--transition);
}

.auth-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

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

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

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    padding-left: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-item.active a,
.nav-item a:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-item.active a i,
.nav-item a:hover i {
    color: var(--primary);
}

.user-profile-section {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.user-info {
    flex-grow: 1;
    overflow: hidden;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.user-role {
    font-size: 12px;
    color: var(--text-secondary);
}

.logout-btn {
    color: var(--danger);
    font-size: 18px;
    transition: var(--transition);
}

.logout-btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    padding: 40px;
    max-width: calc(100vw - var(--sidebar-width));
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-title h2 {
    font-size: 28px;
    font-weight: 700;
}

.page-title p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

/* Glassmorphism Cards & Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info .stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-top: 8px;
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon-box.primary {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.stat-icon-box.secondary {
    background-color: rgba(168, 85, 247, 0.1);
    color: var(--secondary);
}

.stat-icon-box.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* UI Elements: Forms, Buttons, Tables */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background-color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background-color: var(--bg-main);
}

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

.btn-danger:hover {
    opacity: 0.9;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

/* Custom Checkbox/Radio */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    accent-color: var(--primary);
}

/* Table styling */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: white;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.table th {
    background-color: #f1f5f9;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background-color: #f8fafc;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-primary {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Form Builder Canvas CSS */
.builder-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.builder-canvas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.builder-settings-panel {
    position: sticky;
    top: 40px;
}

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

.field-card {
    position: relative;
    transition: var(--transition);
}

.field-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.field-actions {
    position: absolute;
    right: 30px;
    top: 30px;
    display: flex;
    gap: 8px;
}

.field-drag-handle {
    display: flex;
    justify-content: center;
    cursor: grab;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.field-options-list {
    margin-top: 15px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Color Picker & Theme Presets */
.theme-presets {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.theme-preset-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.theme-preset-btn.active,
.theme-preset-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--primary);
}

/* Public Form View Frame Styling */
.public-form-wrapper {
    max-width: 680px;
    margin: 40px auto;
    padding: 0 20px;
}

.public-form-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border-top: 10px solid var(--form-theme, var(--primary));
}

.public-form-header {
    padding: 30px 40px;
    border-bottom: 1px solid var(--border-color);
}

.public-form-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.public-form-description {
    color: var(--text-secondary);
    font-size: 15px;
}

.public-form-body {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
}

.public-form-body .form-group {
    margin-bottom: 0 !important;
}

.public-form-body .form-group.width-full {
    flex: 0 0 100%;
    width: 100%;
}

.public-form-body .form-group.width-half {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
}

.public-form-submit-container {
    flex: 0 0 100%;
    width: 100%;
}

@media (max-width: 600px) {
    .public-form-body .form-group.width-half {
        flex: 0 0 100%;
        width: 100%;
    }
}

.public-form-footer {
    padding: 20px 40px;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Modal styling */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 550px;
    padding: 30px;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-backdrop.show .modal-box {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    background: none;
    border: none;
}

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

/* Responsive CSS */
@media (max-width: 992px) {
    .builder-container {
        grid-template-columns: 1fr;
    }
    .builder-settings-panel {
        position: static;
    }
}

.mobile-top-header {
    display: none;
}

@media (max-width: 768px) {
    .mobile-top-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 56px;
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
    }
    .mobile-logo-container {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-logo-img {
        width: 32px;
        height: 32px;
        object-fit: contain;
        border-radius: 6px;
    }
    .mobile-logo-text {
        font-size: 16px;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .mobile-logout-btn {
        color: var(--danger);
        font-size: 18px;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(239, 68, 68, 0.08);
    }
    .mobile-logout-btn:hover {
        background: rgba(239, 68, 68, 0.15);
        transform: scale(1.05);
    }

    .sidebar {
        transform: none !important;
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        height: 64px;
        flex-direction: row;
        padding: 0;
        border-right: none;
        border-top: 1px solid var(--border-color);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 1000;
    }
    .sidebar .logo-container,
    .sidebar .user-profile-section {
        display: none !important;
    }
    .sidebar .nav-menu {
        flex-direction: row;
        width: 100%;
        height: 100%;
        justify-content: space-around;
        align-items: center;
        gap: 0;
        margin: 0;
        padding: 0;
    }
    .sidebar .nav-item {
        flex: 1;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .sidebar .nav-item a {
        flex-direction: column;
        gap: 4px;
        padding: 6px 0;
        font-size: 10px;
        font-weight: 600;
        width: 100%;
        height: 100%;
        justify-content: center;
        border-radius: 0;
        background: none !important;
        color: var(--text-secondary);
    }
    .sidebar .nav-item.active a,
    .sidebar .nav-item a:hover {
        color: var(--primary);
    }
    .sidebar .nav-item a i {
        font-size: 18px;
        margin: 0;
    }

    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 76px 16px 84px 16px !important;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ==========================================================================
   5-6 High-Fidelity Premium Form Style Themes
   ========================================================================== */

/* 1. Flat Minimalist Theme */
.theme-flat .public-form-card {
    background: white !important;
    border: 1px solid var(--border-color) !important;
    border-top: 6px solid var(--primary) !important;
    box-shadow: none !important;
    border-radius: var(--radius-sm) !important;
}
.theme-flat .form-control {
    border: none !important;
    border-bottom: 2px solid var(--border-color) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.theme-flat .form-control:focus {
    border-bottom-color: var(--primary) !important;
    box-shadow: none !important;
}

/* 2. Glassmorphism Glass Theme */
.theme-glass .public-form-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06) !important;
    border-top: 10px solid var(--primary) !important;
}
.theme-glass .form-control {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.theme-glass .form-control:focus {
    background: rgba(255, 255, 255, 0.45) !important;
    border-color: var(--primary) !important;
}

/* 3. Midnight Premium Dark Theme */
.theme-dark .public-form-card {
    background: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #1e293b !important;
    border-top: 10px solid var(--primary) !important;
    box-shadow: var(--shadow-lg) !important;
}
.theme-dark .public-form-header {
    border-bottom-color: #1e293b !important;
}
.theme-dark .public-form-title, .theme-dark .form-label, .theme-dark .checkbox-label {
    color: #f8fafc !important;
}
.theme-dark .public-form-description, .theme-dark .public-form-footer {
    color: #94a3b8 !important;
}
.theme-dark .form-control {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}
.theme-dark .form-control:focus {
    border-color: var(--primary) !important;
    background-color: #1e293b !important;
}
.theme-dark .public-form-footer {
    background-color: #0b0f19 !important;
    border-top-color: #1e293b !important;
}

/* 4. Retro Soft Warm Theme */
.theme-soft .public-form-card {
    background: #faf8f5 !important;
    border: 2px solid #5c4033 !important;
    box-shadow: 6px 6px 0px #5c4033 !important;
    color: #3d2314 !important;
    border-top: 10px solid var(--primary) !important;
    border-radius: var(--radius-sm) !important;
}
.theme-soft .public-form-header {
    border-bottom: 2px dashed #e4dcd3 !important;
}
.theme-soft .public-form-title, .theme-soft .form-label, .theme-soft .checkbox-label {
    color: #3d2314 !important;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
}
.theme-soft .form-control {
    background-color: #ffffff !important;
    border: 2px solid #5c4033 !important;
    border-radius: var(--radius-sm) !important;
    color: #3d2314 !important;
}
.theme-soft .form-control:focus {
    box-shadow: 0 0 0 3px rgba(92, 64, 51, 0.1) !important;
    border-color: var(--primary) !important;
}
.theme-soft .btn-primary {
    border: 2px solid #5c4033 !important;
    box-shadow: 3px 3px 0px #5c4033 !important;
    color: white !important;
}
.theme-soft .public-form-footer {
    background-color: #f5efe6 !important;
    border-top: 2px dashed #e4dcd3 !important;
    color: #8c6a56 !important;
}

/* 5. Cyberpunk Neon Theme */
.theme-neon .public-form-card {
    background: #05050a !important;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 25px var(--primary-light) !important;
    color: #e2e8f0 !important;
    border-top: 10px solid var(--primary) !important;
}
.theme-neon .public-form-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.theme-neon .public-form-title, .theme-neon .form-label, .theme-neon .checkbox-label {
    color: #e2e8f0 !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1) !important;
}
.theme-neon .form-control {
    background-color: #0c0c16 !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.theme-neon .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px var(--primary) !important;
}
.theme-neon .btn-primary {
    box-shadow: 0 0 15px var(--primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.theme-neon .public-form-footer {
    background-color: #030306 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #64748b !important;
}

/* 6. Borderless Elegant Light Theme */
.theme-borderless-light.public-form-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.theme-borderless-light .public-form-card {
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.theme-borderless-light .public-form-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.theme-borderless-light .public-form-title {
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
}
.theme-borderless-light .public-form-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.theme-borderless-light .form-control {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: var(--radius-md) !important;
}
.theme-borderless-light .form-control:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
}
.theme-borderless-light .public-form-footer {
    background: transparent !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.theme-borderless-light .btn-primary {
    border-radius: var(--radius-md) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* 7. Borderless Modern Dark Theme */
.theme-borderless-dark.public-form-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.theme-borderless-dark .public-form-card {
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #e2e8f0 !important;
}
.theme-borderless-dark .public-form-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.theme-borderless-dark .public-form-title,
.theme-borderless-dark .form-label,
.theme-borderless-dark .checkbox-label {
    color: #f1f5f9 !important;
}
.theme-borderless-dark .public-form-description {
    color: #94a3b8 !important;
}
.theme-borderless-dark .public-form-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.theme-borderless-dark .form-control {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    border-radius: var(--radius-md) !important;
}
.theme-borderless-dark .form-control::placeholder {
    color: #64748b !important;
}
.theme-borderless-dark .form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
}
.theme-borderless-dark .public-form-footer {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #64748b !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.theme-borderless-dark .btn-primary {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

/* 8. Borderless Frost Glass Theme */
.theme-borderless-glass.public-form-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.theme-borderless-glass .public-form-card {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: none !important;
    border-top: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
    border-radius: var(--radius-lg) !important;
}
.theme-borderless-glass .public-form-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.theme-borderless-glass .public-form-title {
    font-weight: 800 !important;
}
.theme-borderless-glass .form-control {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: var(--radius-md) !important;
}
.theme-borderless-glass .form-control:focus {
    background: rgba(255, 255, 255, 0.55) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
}
.theme-borderless-glass .public-form-footer {
    background: rgba(255, 255, 255, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.theme-borderless-glass .btn-primary {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

