/* ====================== FONT IMPORTS ====================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ====================== GLOBAL STYLES ====================== */
:root {
    /* Primary Theme Colors */
    --purple: #081A29;
    /* Deep Navy as primary brand color */
    --purple-rgb: 8, 26, 41; /* RGB values for --purple */
    --purple-dark: #0F3C66;
    /* Navy variant for hovers or emphasis */
    --purple-light: #1D5B94;
    /* Lighter steel blue for subtle elements */
    --blue: #3B82F6;
    /* Vibrant blue for CTAs and highlights */
    --blue-dark: #1D5B94;
    /* Slightly darker steel blue */
    --blue-light: #F5F7FA;
    /* Soft blue/gray for light backgrounds */

    /* Text Colors */
    --text-dark: #081A29;
    /* Heading text */
    --text-medium: #4C5A69;
    /* Subheadings */
    --text-light: #6B7A89;
    /* Body text */
    --text-muted: #AAB4C2;
    /* Secondary / muted info */

    /* Border and Background Colors */
    --border-color: #D9DEE3;
    --border-light: #F5F7FA;
    --border-lighter: #FAFBFC;
    --background-light: #FFFFFF;
    --background-hover: #F5F7FA;

    /* Basic Colors */
    --white: #FFFFFF;
    --black: #000000;
    --gray: #6B7A89;
    /* Body text and neutral elements */
    --gray-dark: #4C5A69;
    --gray-light: #F5F7FA;

    /* Material Colors */
    --light-blue: #3B82F6;
    /* Accent / links */
    --teal: #00B894;
    /* Positive actions */
    --green: #4CAF50;
    /* Keep as-is or match brand if needed */
    --yellow: #FFC857;
    /* Warnings / attention */
    --orange: #FF9800;
    /* Optional / legacy fallback */
    --red: #EF4444;
    /* Errors */
    --pink: #E91E63;
    /* Optional / unused */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--purple), var(--blue));
    --gradient-vertical: linear-gradient(180deg, var(--purple) 0%, var(--blue) 100%);


    /* Font families */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Sizes */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p,
span,
a,
button,
input,
label,
textarea,
select {
    font-family: var(--font-secondary);
}

/* ====================== AUTH PAGES (LOGIN/SIGNUP) ====================== */

/* Login/Signup Container */
.auth-bg {
    background: linear-gradient(135deg, var(--purple-light), var(--purple));
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    background-color: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    padding: 40px;
    box-sizing: border-box;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.greeting-text {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-medium);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.greeting-highlight {
    color: var(--purple);
    border: 1px dashed var(--purple);
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 500;
}

.login-header h1 {
    font-size: 26px;
    color: var(--text-dark);
    margin: 15px 0;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.signup-prompt {
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 12px;
}

.signup-prompt a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.signup-prompt a:hover {
    text-decoration: underline;
}

.login-form {
    margin-top: 20px;
}

/* OTP Timer and Resend Button */
.otp-timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--light-purple, rgba(123, 104, 238, 0.05));
    border-radius: var(--border-radius);
}

.otp-timer {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-timer {
    font-weight: 600;
    color: var(--purple);
    margin-left: 5px;
}

.btn-resend-otp {
    background-color: transparent;
    color: var(--purple);
    border: 1px solid var(--purple);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
    text-align: center;
}

.btn-resend-otp:hover {
    background-color: rgba(123, 104, 238, 0.1);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: var(--font-secondary);
}

.form-group input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(123, 104, 238, 0.1);
}

/* Password Field with Toggle Button */
.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--text-dark);
}

.eye-icon {
    width: 22px;
    height: 22px;
}

/* Checkbox Styling */
.checkbox-group {
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.4;
}

.inline-link {
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.inline-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background-color: var(--purple);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-submit:hover {
    background-color: var(--purple-dark);
}

.btn-submit:active {
    transform: translateY(1px);
}

/* Social Login */
.alternative-login {
    text-align: center;
    margin: 20px 0;
}

.alternative-login p {
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    margin-bottom: 20px;
    font-weight: 400;
}

.alternative-login p:before,
.alternative-login p:after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    width: 30%;
    background-color: var(--border-color);
}

.alternative-login p:before {
    left: 0;
}

.alternative-login p:after {
    right: 0;
}

/* Grid layout for social buttons (optional) */
.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-login-grid .social-login-btn:last-child {
    grid-column: span 2;
}

.social-login-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s, border-color 0.3s, transform 0.1s;
}

.social-login-btn img {
    width: 20px;
    margin-right: 10px;
}

.social-login-btn:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
}

.social-login-btn:active {
    transform: translateY(1px);
}

/* Help and Terms */
.login-help {
    text-align: center;
    margin-top: 30px;
}

.login-help p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.login-help a {
    color: var(--purple);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.login-help a:hover {
    text-decoration: underline;
}

.terms-notice {
    margin-top: 30px;
    text-align: center;
}

.terms-notice p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}

.forgot-password-link{
    text-align: right; 
    margin-bottom: 12px;
    font-size: 14px;
}
/* ====================== WELCOME PAGE STYLES ====================== */

.welcome-bg {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.welcome-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left section (dark background) */
.welcome-left {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right section (content) */
.welcome-right {
    flex: 1;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.welcome-content {
    max-width: 400px;
    text-align: center;
}

.welcome-logo {
    margin-bottom: 2rem;
    display: inline-block;
}

.logo-hi {
    color: var(--purple);
    font-size: 2.5rem;
    font-weight: 600;
    border: 1px dashed var(--purple);
    border-radius: 5px;
    padding: 5px 15px;
}

.welcome-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.welcome-description {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.welcome-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--purple);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.welcome-button:hover {
    background-color: var(--purple-dark);
}

.arrow-icon {
    margin-left: 8px;
    font-size: 1.2rem;
}

/* Responsive adjustments for login/signup */
@media (max-width: 480px) {
    .login-card {
        padding: 25px;
        max-width: 90%;
    }

    .greeting-text {
        font-size: 24px;
    }

    .login-header h1 {
        font-size: 22px;
    }

    .social-login-grid {
        grid-template-columns: 1fr;
    }

    .social-login-grid .social-login-btn:last-child {
        grid-column: span 1;
    }
}

/* Responsive adjustments for welcome page */
@media (max-width: 768px) {
    .welcome-left {
        display: none;
        /* Hide left section on mobile */
    }

    .welcome-container {
        display: block;
    }

    .welcome-right {
        width: 100%;
        height: 100vh;
    }

    .welcome-content {
        padding: 2rem;
        max-width: 320px;
    }
}

/* ====================== ADD OTHER SECTIONS BELOW ====================== */

/* ====================== PROFILE PAGE ====================== */
.profile-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--white);
}

/* Left Section */
.profile-left {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #081A29 0%, #1D5B94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.profile-card-container {
    position: relative;
    width: 585px;
    /* Match SVG width */
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card {
    background: var(--white);
    border-radius: 24px;
    width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 2;
    border: 8px solid white;
    min-height: 580px;
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding-bottom: 100%;
}

.profile-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c2c2c;
    overflow: hidden;
}

.profile-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-curve-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
}

.profile-curve {
    position: absolute;
    bottom: -2px;
    left: -2px;
    right: -2px;
    height: 62px;
    background: var(--white);
    border-radius: 100% 0 0 0;
}

.profile-info {
    text-align: left;
    background: var(--white);
    position: relative;
    padding: 20px 4px 15px;
}

.profile-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #2C2C2C;
    font-family: var(--font-primary);
    line-height: 1.2;
    position: relative;
    padding-left: 12px;
}


.profile-title {
    font-size: 15px;
    color: var(--text-medium);
    margin: 0 0 4px 0;
    font-family: var(--font-secondary);
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    padding-left: 12px;
}


.profile-company {
    font-size: 15px;
    color: var(--text-medium);
    margin: 0 0 32px 0;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    position: relative;
    padding-left: 12px;
    font-style: italic;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;

}

.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 400;
    position: relative;
    padding-left: 12px;
}


.contact-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    ;
}

/* Phone icon specific styles */
.contact-item.phone i {
    transform: rotate(90deg);
}

/* Navigation Arrows Update */
.nav-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    /*transform: translate(-50%, calc(-50% + 40px));*/
    pointer-events: none;
    z-index: 1;
}

.nav-arrows svg {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Right Section */
.profile-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.contact-form-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.contact-form-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-weight: 600;
}

.contact-form-container p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-family: var(--font-secondary);
}

.phone-input-group {
    display: flex;
    gap: 0.75rem;
}

.country-select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-family: var(--font-secondary);
    min-width: 100px;
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin: 1.5rem 0;
    font-family: var(--font-secondary);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }

    .profile-left {
        display: none;
    }

    .profile-right {
        padding: 1.5rem;
    }

    .contact-form-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .profile-right {
        padding: 1rem;
    }

    .contact-form-container h1 {
        font-size: 1.75rem;
    }

    .phone-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .country-select {
        width: 100%;
        min-width: unset;
    }
}

.profile-name-container {
    border-left: 1px dashed var(--text-muted);
    padding-left: 0px;
}

/* Step Indicators */
.step-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.step-dot {
    width: 60px;
    height: 4px;
    border-radius: 1.5px;
    background-color: #E0E0E0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-dot:hover {
    background-color: #BDBDBD;
}

.step-dot.active {
    background-color: var(--purple);
    ;
    transform: scale(1.1);
}

/* Photo Upload Section */
.photo-upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.photo-placeholder {
    width: 100%;
    max-width: 320px;
    margin: 20px 0;
}

.photo-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-tips {
    width: 100%;
    text-align: left;
    padding: 0 20px;
}

.tips-header {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.photo-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.photo-tips li {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
    position: relative;
    padding-left: 20px;
}

.photo-tips li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--text-medium);
}

.btn-submit {
    background-color: var(--purple);
    ;
    margin-bottom: 0;
}

.btn-submit:last-of-type {
    margin-top: 16px;
}

.btn-upload {
    width: auto;
    background-color: var(--white);
    color: var(--text-medium);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    display: inline-block;
}

.btn-upload:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
}

.btn-continue {
    width: 100%;
    background-color: var(--purple);
    ;
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0;
}

.btn-continue:hover {
    background-color: var(--purple-dark);
}

.btn-skip {
    background: none;
    border: none;
    color: var(--text-medium);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.btn-skip:hover {
    color: var(--text-dark);
}

/* ====================== CARDS LISTING PAGE ====================== */
/* Layout */
.layout-container {
    display: flex;
    min-height: 100vh;
}

/* Side Menu */
.side-menu {
    width: 240px;
    background-color: var(--purple);
    ;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.logo {
    padding: 0 24px;
    margin-bottom: 32px;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-primary);
}

.menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    font-size: 14px;
}

.menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.menu-footer {
    padding: 0 12px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Mobile Header */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: var(--purple);
    ;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

.mobile-header h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: white;
    font-size: 20px;
}

/* Cards Page Layout */
.cards-page {
    flex: 1;
    min-height: 100vh;
    background-color: var(--gray-light);
    ;
    padding: 24px;
}

/* Header Styles */
.cards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-profile .user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.user-profile .user-email {
    font-size: 14px;
    color: var(--text-medium);
}

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-toggle:hover {
    background-color: var(--gray-light);
    ;
}

.profile-toggle .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 4px;
}

.profile-toggle .user-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

.profile-toggle .user-email {
    font-size: 12px;
    color: var(--text-medium);
    line-height: 1.2;
}

.profile-toggle i {
    font-size: 12px;
    color: var(--text-medium);
}

.profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

/* Toolbar Styles */
.cards-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.search-container {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    background-color: var(--white);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    font-size: 14px;
    color: var(--text-medium);
}

.sort-button {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
}

.sort-direction {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.btn-new-card {
    background-color: var(--purple);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-new-card:hover {
    background-color: var(--purple-dark);
}

.btn-new-card-mobile {
    display: none;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cards-grid .profile-card-container {
    width: 100%;
    cursor: pointer;
}

.cards-grid .profile-card {
    min-height: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards-grid .profile-card-container:hover .profile-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-preview {
    position: relative;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    padding-top: 56.25%;
}

.preview-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    border-radius: 100% 0 0 0;
}

.preview-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
}

.preview-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.preview-subtitle {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0 0 16px 0;
}

.preview-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.preview-contact span {
    font-size: 13px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-menu {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background-color: var(--purple);
        ;
        z-index: 1000;
        padding-top: 72px;
        /* Account for mobile header */
    }

    .side-menu.active {
        transform: translateX(0);
    }

    .menu-items {
        padding: 16px;
    }

    .menu-item {
        font-size: 16px;
        padding: 16px;
    }

    .menu-item i {
        font-size: 18px;
    }

    .menu-footer {
        padding: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 24px;
    }

    .mobile-header {
        display: flex;
        background-color: var(--purple);
        ;
        color: white;
        z-index: 1001;
        /* Above the side menu */
    }

    .mobile-header h1 {
        color: white;
    }

    .menu-toggle {
        color: white;
    }

    .profile-toggle {
        padding: 4px;
        border: none;
        background: none;


    }

    .profile-toggle .user-info,
    .profile-toggle i {
        display: none;
    }

    .profile-dropdown {
        position: absolute;
        top: 56px;
        right: 12px;
        width: 200px;
        left: auto;
        border-radius: var(--border-radius);
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .dropdown-menu {
        background: white;
        border-radius: var(--border-radius);
    }

    .dropdown-item {
        padding: 12px 16px;
        font-size: 14px;
    }

    .cards-page {
        margin-left: 0;
        padding: 16px;
        padding-top: 85px;
    }

    .cards-header {
        display: none;
    }

    .user-profile .user-name,
    .user-profile .user-email {
        display: none;
    }

    .cards-toolbar {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .search-container {
        width: 100%;
    }

    .sort-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .sort-label {
        font-size: 14px;
        color: var(--text-medium);
        width: auto;
    }

    .sort-button {
        flex: 1;
        justify-content: space-between;
        padding: 10px 12px;
    }

    .sort-direction {
        width: 40px;
        height: 40px;
    }

    .search-input {
        padding: 12px 16px 12px 40px;
        font-size: 14px;
    }

    .btn-new-card {
        display: none;
    }

    .btn-new-card-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background-color: var(--purple);
        ;
        color: var(--white);
        border: none;
        border-radius: var(--border-radius);
        padding: 12px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        margin-top: 24px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cards-page {
        padding: 12px;
        padding-top: 85px;
    }

    .sort-container {
        gap: 8px;
    }

    .sort-button {
        padding: 10px 12px;
    }
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
}

.card-type {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.card-date {
    font-size: 13px;
    color: var(--text-muted);
}

/* Profile Dropdown Styles */
.profile-dropdown {
    position: fixed;
    top: 60px;
    right: 16px;
    width: 200px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 1000;
    border: 1px solid var(--border-color);
    z-index: 1002;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Desktop adjustments */
@media (min-width: 769px) {
    .profile-dropdown {
        top: 55px;
        right: 10px;
    }
}

.dropdown-menu {
    padding: 4px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 13px;
}

.dropdown-item:hover {
    background-color: var(--gray-light);
    ;
}

.dropdown-item i {
    font-size: 14px;
    width: 16px;
    color: var(--text-medium);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 4px 0;
}

.upgrade-item {
    color: var(--purple);
    ;
}

.upgrade-item i {
    color: var(--purple);
    ;
}

.pro-badge {
    background: linear-gradient(135deg, var(--purple), #3F51B5);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .profile-toggle .user-info {
        display: none;
    }

    .profile-toggle {
        padding: 4px;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        padding: 6px 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .profile-toggle i {
        display: none;
    }
}

/* ====================== CARD DETAIL PAGE ====================== */
.card-detail-page {
    flex: 1;
    min-height: 100vh;
    background-color: var(--gray-light);
    ;
    padding: 24px;
    padding-bottom: 80px;
    /* Space for sticky footer */
    position: relative;
}

/* Header Styles */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-button {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.back-button:hover {
    color: var(--text-dark);
}

.detail-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.preview-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.preview-button:hover {
    background: var(--gray-light);
    ;
}

/* Tabs Navigation */
.detail-tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
    padding: 0 8px;
    background-color: var(--gray-light);
    ;
}

.tab-button {
    padding: 12px 8px;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-button:hover {
    color: var(--text-dark);
}

.tab-button.active {
    color: var(--purple);
    border-bottom-color: var(--purple);
    ;
}

/* Tab Content */
.tab-content {
    padding: 24px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Display Options */
.display-options {
    max-width: 720px;
}

.option-group {
    margin-bottom: 32px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* Style Options */
.style-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.style-option {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.style-option:hover {
    background: var(--gray-light);
    ;
}

.style-option.active {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
    ;
}

/* Photo Upload */
.photo-upload {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.current-photo {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.current-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.remove-photo:hover {
    background: rgba(0, 0, 0, 0.7);
}

.replace-photo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    width: fit-content;
}

.replace-photo:hover {
    background: var(--gray-light);
    ;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: var(--purple);
    ;
}

.color-option.gradient {
    background: var(--gradient-primary);
}

.color-option.purple {
    background-color: var(--purple);
}

.color-option.blue {
    background-color: var(--blue);
}

.color-option.light-blue {
    background-color: var(--light-blue);
}

.color-option.teal {
    background-color: var(--teal);
}

.color-option.green {
    background-color: var(--green);
}

.color-option.yellow {
    background-color: var(--yellow);
}

.color-option.orange {
    background-color: var(--orange);
}

.color-option.red {
    background-color: var(--red);
}

.color-option.pink {
    background-color: var(--pink);
}

.color-option.gray {
    background-color: var(--gray);
}

.color-selected {
    color: #fff;
}

/* Font Selector */
.font-selector {
    display: flex;
    align-items: center;
    gap: 16px;
}

.font-select {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--text-dark);
    background: white;
    min-width: 200px;
}

.default-label {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Add Logo Button */
.add-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-logo:hover {
    background: var(--gray-light);
    ;
}

/* Sticky Footer */
.detail-footer {
    position: fixed;
    bottom: 0;
    left: 240px;
    right: 0;
    background: white;
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.btn-cancel {
    padding: 8px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: var(--gray-light);
    ;
}

.btn-save {
    padding: 8px 24px;
    background: var(--purple);
    ;
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save:hover {
    background: var(--purple-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .card-detail-page {
        margin-left: 0;
        padding: 16px;
        padding-top: 72px;
        padding-bottom: 80px;
    }

    .detail-header {
        margin-bottom: 24px;
    }

    .detail-tabs {
        position: sticky;
        top: 56px;
        /* Height of mobile header */
        z-index: 98;
        gap: 24px;
        overflow-x: auto;
        padding: 12px 16px;
        margin: -16px -16px 24px -16px;
        width: calc(100% + 32px);
        background-color: var(--gray-light);
        ;
        border-bottom: 1px solid var(--border-color);
        white-space: nowrap;
    }

    .tab-button {
        white-space: nowrap;
    }

    /* Hide scrollbar but keep functionality */
    .detail-tabs::-webkit-scrollbar {
        display: none;
    }

    .detail-tabs {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .style-options,
    .color-options {
        gap: 12px;
    }

    .detail-footer {
        left: 0;
        padding: 12px 16px;
    }
}

/* Information Tab Styles */
.information-form {
    max-width: 720px;
    padding: 0 16px;
}

.form-section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.information-form .form-group {
    margin-bottom: 20px;
}

.information-form label {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
    font-weight: 500;
}

.information-form .form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.information-form .form-input:focus {
    border-color: var(--purple);
    ;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
    outline: none;
}

.information-form textarea.form-input {
    resize: vertical;
    min-height: 38px;
}

/* Responsive styles for Information tab */
@media (max-width: 768px) {
    .information-form {
        padding: 0;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .information-form .form-group {
        margin-bottom: 16px;
    }
}

/* Fields Tab Styles */
.fields-container {
    max-width: 720px;
    padding: 0 16px;
}

.fields-container .search-container {
    margin-bottom: 32px;
}

.fields-section {
    margin-bottom: 40px;
}

.fields-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.field-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.field-button:hover {
    background-color: var(--gray-light);
    ;
    border-color: #ccc;
}

.field-button i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--text-medium);
}

/* Responsive styles for Fields tab */
@media (max-width: 768px) {
    .fields-container {
        padding: 0;
    }

    .fields-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    .field-button {
        padding: 8px 12px;
        font-size: 13px;
    }

    .field-button i {
        font-size: 14px;
    }
}

/* Fields Tab Layout */
.fields-layout {
    display: flex;
    gap: 24px;
    height: calc(100vh - 250px);
}

/* Left Section - Fields Data */
.fields-data {
    flex: 1;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow-y: auto;
}

.fields-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.fields-header h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fields-header i {
    color: var(--text-muted);
    font-size: 14px;
    cursor: help;
}

/* Field Items */
.field-items {
    padding: 16px;
}

.field-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.field-item-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    border-bottom: 1px solid #F0F0F0;
}

.field-drag-handle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: move;
    padding: 4px;
}

.field-type {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.field-type i {
    color: #757575;
    font-size: 14px;
}

.field-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.field-item:hover .field-remove {
    opacity: 1;
}

.field-content {
    padding: 16px;
}

.field-content .form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 12px;
    transition: all 0.2s ease;
    background: var(--gray-light);
    ;
}

.field-content .form-input:focus {
    border-color: var(--purple);
    ;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
    outline: none;
}

.field-content .form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: #757575;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23757575' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.field-drag-handle[dnd-handle] {
    cursor: grab;
}

.field-item.selected {
    background: #f0f4fa;
    border-color: var(--purple);
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.country-flag {
    padding: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background: var(--gray-light);
    ;
    min-width: 45px;
    text-align: center;
}

.phone-input-group .form-input {
    margin-bottom: 0;
    flex: 1;
}

.extension-btn {
    padding: 10px 12px;
    background: var(--gray-light);
    ;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    color: #757575;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.extension-btn:hover {
    background: #f0f0f0;
    border-color: #BDBDBD;
}

/* Field Errors */
.field-error {
    color: #F44336;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-error i {
    font-size: 14px;
}

/* Pro Feature */
.pro-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: #757575;
    font-size: 13px;
}

/* Right Section - Fields Selection */
.fields-selection {
    width: 420px;
    background: var(--blue-light);
    border-radius: var(--border-radius);
    padding: 16px;
    overflow-y: auto;
}

.fields-search {
    margin-bottom: 24px;
}

.fields-search .search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid rgba(156, 39, 176, 0.2);
    border-radius: var(--border-radius);
    background: white;
    font-size: 14px;
}

.fields-categories {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.category-section h4 {
    color: var(--text-dark);
    font-size: 14px;
    margin: 0 0 12px 0;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.field-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid rgba(156, 39, 176, 0.2);
    border-radius: 20px;
    color: var(--text-dark);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.field-select-btn:hover {
    background: rgba(156, 39, 176, 0.1);
    border-color: rgba(156, 39, 176, 0.3);
}

.field-select-btn i {
    font-size: 12px;
    color: var(--purple);
    ;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .fields-layout {
        flex-direction: column;
        height: auto;
    }

    .fields-selection {
        width: 100%;
    }
}

/* PDF Field Styles */
.field-content .pdf-placeholder {
    width: 100%;
    height: 40px;
    background: #F5F5F5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    margin-bottom: 8px;
}

.field-content .pdf-placeholder i {
    color: #757575;
    font-size: 16px;
}

.field-content .pdf-upload-btn {
    background: var(--purple);
    ;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
    float: right;
    margin-bottom: 6px;
}

.field-content .pdf-upload-btn:hover {
    background: var(--purple-dark);
}

.field-content .pdf-upload-btn i {
    color: white;
    font-size: 12px;
}

.field-content .display-text-input {
    position: relative;
}

.field-content .display-text-input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
    font-size: 14px;
}

.field-content .display-text-input input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.field-content .display-text-input input:focus {
    border-color: var(--purple);
    ;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
    outline: none;
}

.field-content .pdf-placeholder {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.field-content .upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--purple);
    ;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.field-content .upload-btn:hover {
    background: var(--purple-dark);
}

.field-content .upload-btn i {
    font-size: 16px;
}

/* Card Tab Styles (Card Settings) */
.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    max-width: 720px;
}

.stat-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-medium);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label i {
    color: var(--text-muted);
    cursor: help;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.card-info-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--gray-light);
    ;
    border-radius: var(--border-radius);
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 32px;
    max-width: 720px;
}

.card-info-note i {
    color: var(--text-muted);
}

.card-name-section {
    margin-bottom: 32px;
    max-width: 720px;
}

.card-name-section label {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.card-share-section {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    max-width: 720px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
}

.qr-code-container {
    text-align: center;
}

.qr-code {
    width: 240px;
    height: 240px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    cursor: pointer;
    margin-bottom: 12px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--purple);
    ;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.qr-caption {
    font-size: 14px;
    color: var(--text-medium);
}

.share-options {
    flex: 1;
}

.share-options h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.share-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--gray-light);
    ;
}

.share-divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.share-divider:before,
.share-divider:after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 50px);
    height: 1px;
    background: var(--border-color);
}

.share-divider:before {
    left: 0;
}

.share-divider:after {
    right: 0;
}

.share-divider span {
    background: white;
    padding: 0 12px;
    color: var(--text-medium);
    font-size: 14px;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.share-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.share-method:hover {
    background: var(--gray-light);
    ;
}

.share-method.active {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
    ;
}

.personalized-link-section {
    margin-bottom: 48px;
    max-width: 720px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.section-header label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.section-header i {
    color: var(--text-muted);
    cursor: help;
}

.section-description {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.card-management {
    max-width: 720px;
}

.management-option {
    margin-bottom: 32px;
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.option-header label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.option-description {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked+label {
    background-color: var(--purple);
    ;
}

.toggle-switch input:checked+label:before {
    transform: translateX(20px);
}

.delete-card-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #F44336;
    border-radius: var(--border-radius);
    color: #F44336;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.delete-card-btn:hover {
    background: #FEE8E7;
}

@media (max-width: 768px) {
    .card-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-share-section {
        flex-direction: column;
        gap: 32px;
        padding: 24px;
    }

    .qr-code {
        width: 200px;
        height: 200px;
        margin: 0 auto 12px;
    }

    .share-buttons {
        grid-template-columns: 1fr;
    }
}

.padding-0 {
    padding: 0;
}

.arrow-pos-1 {
    transform: translate(-50%, 40px);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.arrow-pos-3 {
    transform: translate(-50%, -140px);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.arrow-pos-4 {
    transform: translate(-50%, 145px);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.card-analytics-container {
    background: white;
    border-radius: 12px;
    padding: 32px 32px 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.analytics-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.analytics-header-row h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.analytics-content-row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 220px;
    flex: 0 0 220px;
    height: 100%;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 200px;
    min-height: 120px;
    background: linear-gradient(135deg, #f5f7fa 60%, #e9ecf3 100%);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(8, 26, 41, 0.04);
    border: 1.5px solid #e3e7ee;
    padding: 28px 32px 24px 32px;
    position: relative;
    transition: box-shadow 0.2s;
}

.stat-box:hover {
    box-shadow: 0 4px 16px rgba(8, 26, 41, 0.08);
}

.stat-label {
    font-size: 15px;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.stat-label i {
    color: var(--purple);
    opacity: 0.18;
    font-size: 22px;
    margin-left: 4px;
}

.stat-value {
    font-size: 38px;
    font-weight: 700;
    color: var(--purple);
    line-height: 1.1;
    letter-spacing: -1px;
}


.views-graph-container {
    background: var(--gray-light);
    border-radius: 8px;
    padding: 20px 24px;
    flex: 1 1 0;
    min-width: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.graph-header h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
}

.graph-legend {
    display: flex;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-medium);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.graph-wrapper {
    height: 260px;
    position: relative;
}

@media (max-width: 900px) {
    .analytics-content-row {
        flex-direction: column;
        gap: 24px;
    }

    .stats-grid {
        flex-direction: row;
        align-items: stretch;
        min-width: 0;
        flex: 1 1 0;
        gap: 16px;
    }

    .stat-box {
        min-width: 0;
        width: 100%;
        min-height: 100px;
        padding: 20px 18px;
    }
}

@media (max-width: 600px) {
    .card-analytics-container {
        padding: 16px 8px;
    }

    .analytics-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .analytics-content-row {
        flex-direction: column;
        gap: 16px;
    }

    .stats-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .stat-box {
        min-width: 0;
        width: 100%;
        min-height: 80px;
        padding: 16px 10px;
    }

    .views-graph-container {
        padding: 12px 6px;
    }
}

.time-filter {
    display: flex;
    gap: 8px;
}

.time-btn {
    padding: 6px 18px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.time-btn:hover {
    background: var(--gray-light);
    color: var(--purple);
    border-color: var(--purple);
}

.time-btn.active {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
    box-shadow: 0 2px 8px rgba(8, 26, 41, 0.08);
}

.personalized-link-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-top: 8px;
}

.personalized-link-label {
    background: var(--gray-light);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 0 18px;
    font-size: 15px;
    color: var(--text-medium);
    font-weight: 500;
    display: flex;
    align-items: center;
    min-width: 170px;
    white-space: nowrap;
}

.personalized-link-group .form-input {
    border-radius: 0 6px 6px 0;
    border-left: none;
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    font-size: 15px;
    padding-left: 14px;
}

@media (max-width: 600px) {
    .personalized-link-group {
        max-width: 100%;
    }

    .personalized-link-label {
        font-size: 14px;
        padding: 0 10px;
        min-width: 110px;
    }

    .personalized-link-group .form-input {
        font-size: 14px;
        height: 38px;
        padding-left: 8px;
    }
}

/* ====================== CARD DETAIL PAGE END====================== */


/* ====================== INTEGRATIONS PAGE ====================== */
.integrations-page {
    flex: 1;
    min-height: 100vh;
    background-color: var(--gray-light);
    ;
    padding: 24px;
}

.integrations-header {
    margin-bottom: 32px;
}

.integrations-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.header-description {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

/* Section Headers */
.section-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 32px 0 16px 0;
}

.section-label:first-of-type {
    margin-top: 0;
}

/* Integrations Grid */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
}

.integration-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    min-height: 160px;
}

.integration-item:hover {
    border-color: var(--purple);
    ;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.1);
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.integration-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.integration-icon.linkedin {
    background: #E8F3FF;
    color: #0077B5;
}

.integration-icon.twitter {
    background: #E8F7FF;
    color: #1DA1F2;
}

.integration-icon.instagram {
    background: #FFE8F3;
    color: #E4405F;
}

.integration-icon.github {
    background: #E8E8E8;
    color: #333333;
}

.integration-icon.slack {
    background: #FFF1E8;
    color: #E01E5A;
}

.integration-icon.discord {
    background: #E8ECFF;
    color: #7289DA;
}

.integration-content {
    flex: 1;
}

.integration-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.integration-content p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

.integration-status {
    position: absolute;
    bottom: 24px;
    left: 24px;
    font-size: 12px;
    color: #4CAF50;
    background: #E8F5E9;
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-connect,
.btn-view {
    position: absolute;
    bottom: 24px;
    right: 24px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-connect {
    background: var(--purple);
    ;
    color: white;
    border: none;
}

.btn-connect:hover {
    background: var(--purple-dark);
}

.btn-view {
    background: white;
    color: var(--purple);
    ;
    border: 1px solid var(--purple);
    ;
}

.btn-view:hover {
    background: var(--blue-light);
}

@media (max-width: 768px) {
    .integrations-page {
        padding: 16px;
        padding-top: 85px;
        margin: 0;

    }

    .integrations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .integration-item {
        min-height: 140px;
    }

    .section-label {
        font-size: 14px;
        margin: 24px 0 12px 0;
    }
}

/* Mobile Responsive Styles */

@media (max-width: 480px) {
    .integrations-page {
        padding: 12px;
        padding-top: 85px;
    }
}

/*No integrations message*/

/* No Integrations Message Styles */
.no-integrations-message {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: var(--background-color);
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

.no-integrations-message .message-content {
    max-width: 500px;
}

.no-integrations-message i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-integrations-message h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.no-integrations-message p {
    font-size: 16px;
    color: var(--text-color-secondary);
    line-height: 1.5;
}

/* Integration Modal */
.integration-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.integration-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    margin: 0 16px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-medium);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 24px;
}

.connection-steps {
    position: relative;
}

.connection-step {
    display: none;
}

.connection-step.active {
    display: block;
}

.connection-step .form-group {
    margin-bottom: 24px;
}

.connection-step label {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
    font-weight: 500;
}

.connection-step .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: all 0.2s ease;
}

.connection-step .form-input:focus {
    border-color: var(--purple);
    ;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
    outline: none;
}

.otp-hint {
    font-size: 13px;
    color: var(--text-medium);
    margin: 8px 0 0 0;
}

.btn-request-otp,
.btn-verify {
    width: 100%;
    padding: 12px;
    background: var(--purple);
    ;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-request-otp:hover,
.btn-verify:hover {
    background: var(--purple-dark);
}

.btn-resend {
    width: 100%;
    padding: 12px;
    background: white;
    color: var(--purple);
    ;
    border: 1px solid var(--purple);
    ;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.btn-resend:hover {
    background: var(--blue-light);
}

.success-message {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.success-message p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

.btn-done {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 24px;
}

.btn-done:hover {
    background: #388E3C;
}

.integrations-grid .btn-view {
    position: absolute;
    bottom: 24px;
    right: 24px;
}

/* Integrations Detail Page */
.integrations-detail-page {
    flex: 1;
    min-height: 100vh;
    background-color: var(--gray-light);
    ;
    padding: 24px;
}

.integrations-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.integration-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.integration-detail-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.2s ease;
}

.integration-detail-card:hover {
    border-color: var(--purple);
    ;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.1);
}

.detail-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.detail-card-info {
    flex: 1;
}

.detail-date {
    display: block;
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.detail-card-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.detail-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.action-btn:hover {
    background: var(--gray-light);
    ;
    border-color: var(--purple);
    ;
    color: var(--purple);
    ;
}

.action-btn:hover i {
    color: var(--purple);
    ;
}

.action-btn i {
    color: var(--text-medium);
    font-size: 14px;
    transition: color 0.2s ease;
}

.action-btn.danger {
    color: #DC3545;
    border-color: #DC3545;
}

.action-btn.danger:hover {
    background: #FFF5F5;
    color: #DC3545;
}

.action-btn.danger i {
    color: #DC3545;
}

.load-more-container {
    text-align: center;
    margin-top: 32px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: var(--gray-light);
    ;
    border-color: var(--purple);
    ;
    color: var(--purple);
    ;
}

.btn-load-more i {
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .integrations-detail-page {
        padding: 16px;
        padding-top: 85px;
        margin: 0;
    }

    .integrations-toolbar {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .integration-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-card-header {
        margin-bottom: 20px;
    }

    .action-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}


/* Mobile Responsive Styles */
@media (max-width: 480px) {
    .integrations-detail-page {
        padding: 12px;
        padding-top: 85px;
    }
}

/* Help Center Page Styles */
.help-center-page {
    flex: 1;
    min-height: 100vh;
    background-color: var(--gray-light);
    ;
    padding: 24px;
}

.help-search-container {
    text-align: center;
    margin-bottom: 48px;
}

.help-search-container h1 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.help-search-container .search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.help-search-container .search-input {
    width: 100%;
    padding: 16px 48px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    background-color: var(--gray-light);
    ;
}

.help-search-container .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Quick Links Section */
.quick-links {
    margin-bottom: 48px;
}

.quick-links h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.quick-link-card {
    padding: 24px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-link-card i {
    font-size: 24px;
    color: var(--purple);
    margin-bottom: 16px;
}

.quick-link-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 48px;
}

.faq-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.faq-grid {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-header:hover {
    background-color: var(--gray-light);
    ;
}

.faq-header h3 {
    font-size: 16px;
    margin: 0;
    color: var(--text-primary);
}

.faq-header i {
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 16px 24px;
    max-height: 1000px;
}

.faq-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Support Section */
.support-section {
    margin-bottom: 48px;
}

.support-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.support-card {
    padding: 32px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.support-card i {
    font-size: 32px;
    color: var(--purple);
    margin-bottom: 16px;
}

.support-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.support-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-support {
    display: inline-block;
    padding: 8px 24px;
    background-color: var(--purple);
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-support:hover {
    background-color: var(--purple-dark);
    color: white !important;
    text-decoration: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .help-center-page {
        padding: 16px;
        padding-top: 85px;
        margin: 0;
    }

    .help-search-container h1 {
        font-size: 24px;
    }

    .help-search-container .search-input {
        padding: 12px 40px;
    }

    .quick-links h2,
    .faq-section h2,
    .support-section h2 {
        font-size: 20px;
    }

    .support-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .help-center-page {
        padding: 12px;
        padding-top: 85px;
    }
}

/* Replace hardcoded colors with variables */
.background-light {
    background-color: var(--background-light);
}

.color-option.purple {
    background-color: var(--purple);
}

.color-option.blue {
    background-color: var(--blue);
}

.color-option.light-blue {
    background-color: var(--light-blue);
}

.color-option.teal {
    background-color: var(--teal);
}

.color-option.green {
    background-color: var(--green);
}

.color-option.yellow {
    background-color: var(--yellow);
}

.color-option.orange {
    background-color: var(--orange);
}

.color-option.red {
    background-color: var(--red);
}

.color-option.pink {
    background-color: var(--pink);
}

.color-option.gray {
    background-color: var(--gray);
}

.text-muted {
    color: var(--text-muted);
}

.border-light {
    border-color: var(--border-light);
}

/* Replace gradient definitions */
.gradient-primary {
    background: var(--gradient-primary);
}

.gradient-vertical {
    background: var(--gradient-vertical);
}

/* Replace other color instances */
.form-control {
    background-color: var(--background-light);
    border-color: var(--border-color);
}

.form-control:hover {
    background-color: var(--background-hover);
}

.btn-primary {
    background-color: var(--purple);
    border-color: var(--purple);
}

.btn-primary:hover {
    background-color: var(--purple-dark);
    border-color: var(--purple-dark);
}

.text-dark {
    color: var(--text-dark);
}

.text-medium {
    color: var(--text-medium);
}

.text-light {
    color: var(--text-light);
}

.bg-white {
    background-color: var(--white);
}

.bg-black {
    background-color: var(--black);
}

.border-bottom {
    border-bottom: 1px solid var(--border-lighter);
}

/* Form elements */
.form-control {
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 0.2rem var(--purple-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background-color: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--purple-dark);
    border-color: var(--purple-dark);
}

.btn-secondary {
    background-color: var(--gray);
    border-color: var(--gray);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--gray-dark);
    border-color: var(--gray-dark);
}

/* Cards */
.card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.card-header {
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

/* Navigation */
.nav-link {
    color: var(--text-medium);
}

.nav-link:hover {
    color: var(--purple);
}

.nav-link.active {
    color: var(--purple);
    border-bottom: 2px solid var(--purple);
}

/* Tables */
.table {
    color: var(--text-dark);
}

.table thead th {
    border-bottom: 2px solid var(--border-color);
}

.table td,
.table th {
    border-top: 1px solid var(--border-color);
}

.table-hover tbody tr:hover {
    background-color: var(--background-hover);
}

/* Alerts */
.alert-success {
    background-color: var(--green);
    color: var(--white);
    border: 1px solid var(--green);
}

.alert-danger {
    background-color: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
}

.alert-warning {
    background-color: var(--orange);
    color: var(--white);
    border: 1px solid var(--orange);
}

.alert-info {
    background-color: var(--light-blue);
    color: var(--white);
    border: 1px solid var(--light-blue);
}

/* Badges */
.badge-primary {
    background-color: var(--purple);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--gray);
    color: var(--white);
}

.badge-success {
    background-color: var(--green);
    color: var(--white);
}

.badge-danger {
    background-color: var(--red);
    color: var(--white);
}

/* Modals */
.modal-content {
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
}

/* Dropdowns */
.dropdown-menu {
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: var(--background-hover);
    color: var(--text-dark);
}

.dropdown-divider {
    border-top: 1px solid var(--border-light);
}

/* Form elements */
.form-check-input:checked {
    background-color: var(--purple);
    border-color: var(--purple);
}

.form-check-input:focus {
    border-color: var(--purple-light);
    box-shadow: 0 0 0 0.25rem var(--purple-light-transparent);
}

.form-switch .form-check-input:checked {
    background-color: var(--purple);
    border-color: var(--purple);
}

/* Custom radio */
.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--purple);
    border-color: var(--purple);
}

.custom-radio .custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.25rem var(--purple-light-transparent);
}

/* Custom checkbox */
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--purple);
    border-color: var(--purple);
}

.custom-checkbox .custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.25rem var(--purple-light-transparent);
}

/* Input groups */
.input-group-text {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

/* Progress bars */
.progress {
    background-color: var(--background);
}

.progress-bar {
    background-color: var(--purple);
}

/* List groups */
.list-group-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.list-group-item.active {
    background-color: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

.list-group-item-action:hover {
    background-color: var(--background-hover);
}

/* Pagination */
.page-link {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--purple);
}

.page-link:hover {
    background-color: var(--background-hover);
    border-color: var(--border-color);
    color: var(--purple-dark);
}

.page-item.active .page-link {
    background-color: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

/* Update background colors */
.profile-dropdown,
.dropdown-menu,
.modal-content {
    background-color: var(--white);
}

.cards-page,
.card-detail-page,
.integrations-page,
.help-center-page {
    background-color: var(--background-light);
}

.style-option:hover,
.font-select:hover,
.add-logo:hover,
.btn-cancel:hover {
    background-color: var(--background-hover);
}

/* Update border colors */
.style-option,
.font-select,
.add-logo,
.btn-cancel {
    border: 1px solid var(--border-color);
}

.style-option.active,
.share-method.active {
    border-color: var(--purple);
}

/* Update text colors */
.card-type,
.card-date,
.user-email,
.search-icon,
.sort-label {
    color: var(--text-medium);
}

.field-type {
    color: var(--text-dark);
}

/* Update button colors */
.btn-support {
    color: var(--purple);
    border: 1px solid var(--purple);
}

.btn-support:hover {
    background-color: var(--purple);
    color: var(--white);
}

/* Alert Styles */
.alert-success {
    background-color: var(--green);
    color: var(--white);
    border: 1px solid var(--green);
}

.alert-danger {
    background-color: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
}

.alert-warning {
    background-color: var(--orange);
    color: var(--white);
    border: 1px solid var(--orange);
}

.alert-info {
    background-color: var(--light-blue);
    color: var(--white);
    border: 1px solid var(--light-blue);
}

/* Badge Styles */
.badge-primary {
    background-color: var(--purple);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--gray);
    color: var(--white);
}

.badge-success {
    background-color: var(--green);
    color: var(--white);
}

.badge-danger {
    background-color: var(--red);
    color: var(--white);
}

/* Modal Styles */
.modal-content {
    background-color: var(--white);
    border: 1px solid var(--border-light);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
}

/* Dropdown Styles */
.dropdown-menu {
    background-color: var(--white);
    border: 1px solid var(--border-light);
}

.dropdown-item {
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: var(--background-light);
}

.dropdown-divider {
    border-top: 1px solid var(--border-light);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 240px;
}

/* Disabled Button Styles */
button:disabled,
.btn-submit:disabled,
.btn-resend-otp:disabled,
.btn-connect:disabled,
.btn-view:disabled,
.btn-support:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Also fix the syntax error in the pro-badge class */
.pro-badge {
    background: linear-gradient(135deg, var(--purple), #3F51B5);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 2px;
}

/* Loading Container Animation */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-container:before {
    content: '';
    background-image: url('/images/logo-dark.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 180px;
    height: 60px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loading-spinner {
    display: block;
    margin-top: 20px;
    position: relative;
    width: 40px;
    height: 40px;
}

.loading-spinner:after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--purple);
    border-color: var(--purple) transparent var(--purple) transparent;
    animation: spinner 1.2s linear infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Search Button in Sort Container */
.btn-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-search:hover {
    background: var(--purple-dark);
}

.btn-search i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .btn-search {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

.integration-icon-image {
    width: 100%;
    height: auto;
    padding: 5px;
}

/* Integration Details Content Styles */
.integration-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
}

.int-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.int-tile {
    font-size: 12px;
    color: var(--text-medium);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.int-val {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

@media (max-width: 768px) {
    .integration-container {
        padding: 12px 0;
        gap: 12px;
    }

    .int-tile {
        font-size: 11px;
    }

    .int-val {
        font-size: 13px;
    }
}

.detail-card-status {
    font-size: 20px;
    color: var(--text-medium);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Main Container and Header Adjustments */
#main {
    position: relative;
    min-height: 100vh;
    padding-left: 240px;
    /* Account for side menu width */
}

/* Header Styles */
.cards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
    padding: 10px;
}

/* Adjust page content containers to work with fixed header */
.cards-page,
.card-detail-page,
.integrations-page,
.integrations-detail-page,
.help-center-page {
    padding-top: 24px;
    min-height: calc(100vh - 85px);
    /* Subtract header height */
    background-color: var(--gray-light);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    #main {
        padding-left: 0;
    }

    .cards-header {
        display: none;
    }

    .cards-page,
    .card-detail-page,
    .integrations-page,
    .integrations-detail-page,
    .help-center-page {
        padding: 16px;
        padding-top: 85px;
        /* Account for both headers */
    }
}

.no-side-menu {
    padding-left: 0 !important;
}

/* 404 Page Styles */
.error-404-bg {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    width: 100%;
}

.error-404-content {
    text-align: center;
    padding: 2rem;
}

.error-404-logo {
    margin-bottom: 2rem;
    display: inline-block;
}

.error-404-logo .logo-hi {
    color: var(--purple);
    font-size: 4rem;
    font-weight: 600;
    border: 1px dashed var(--purple);
    border-radius: 5px;
    padding: 5px 15px;
}

.error-404-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.error-404-description {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--purple);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.error-404-button:hover {
    background-color: var(--purple-dark);
    color: white;
    text-decoration: none;
}

.error-404-button .arrow-icon {
    margin-left: 8px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .error-404-content {
        padding: 1.5rem;
    }

    .error-404-logo .logo-hi {
        font-size: 3rem;
    }
}

@media (min-width: 769px) {
    .card-step-container {
        margin-top: -24px;
        margin-left: -24px;
        margin-right: -24px;
        margin-bottom: -80px;
    }

    .card-step-5 {
        margin-top: 75px;
    }
}

@media (max-width: 768px) {
    .card-step-container {
        margin: -16px;
    }
}



/* Coming Soon Section Styles */
.coming-soon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 85px);
    padding: 2rem;
    background-color: var(--white);
}

.coming-soon-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.coming-soon-content i {
    font-size: 3rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
}

.coming-soon-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .coming-soon-content {
        padding: 1.5rem;
    }

    .coming-soon-content i {
        font-size: 2.5rem;
    }

    .coming-soon-content h2 {
        font-size: 1.75rem;
    }

    .coming-soon-content p {
        font-size: 1rem;
    }
}

/* Cover Photo Upload Styles */
.cover-upload {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.current-cover {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--gray);
}

.current-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-cover {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.remove-cover:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.replace-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--gray);
    border: none;
    border-radius: 4px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.replace-cover:hover {
    background-color: var(--gray-dark);
}

@media (max-width: 768px) {
    .current-cover {
        height: 150px;
    }
}

/* Address Item Styles */
.address-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    padding: 0 0 16px 0;
}

.address-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 0 16px;
}

.address-content {
    padding: 0 16px;
}

.address-delete-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0 0;
    padding: 8px 16px;
    background: #F44336;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.address-delete-btn i {
    font-size: 15px;
}

.address-delete-btn:hover {
    background: #d32f2f;
}

/* Always show the field-remove button in address-item-header */
.address-item-header .field-remove {
    opacity: 1 !important;
    color: #F44336;
    background: none;
    border: none;
    font-size: 16px;
    margin-left: 8px;
    cursor: pointer;
    transition: color 0.2s;
}

.address-item-header .field-remove:hover {
    color: #d32f2f;
}

/* No Fields Message */
.no-fields-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.no-fields-message i {
    font-size: 48px;
    color: var(--purple);
    margin-bottom: 16px;
}

.no-fields-message h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin: 0 0 8px 0;
}

.no-fields-message p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/** Fields Drag and Drop */

.field-item.dragging {
    opacity: 0.5;
    background-color: #f0f0f0;
    border: 2px dashed #aaa;
}

.field-item.drag-over {
    border: 2px dashed #007bff;
    background-color: #e6f0ff;
    transition: background-color 0.2s ease;
}
.field-item.dragging {
    opacity: 0.6;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: grabbing;
}

/** End of Fields Drag and Drop */

/* Color Palette Selection Styles */
.color-palette-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 10px;
}

.color-palette-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
}

.color-palette-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.color-palette-label {
    cursor: pointer;
    display: block;
    width: 100%;
    margin: 0;
}

.palette-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.palette-radio:checked + .palette-selection {
    border: 2px solid var(--purple);
    background-color: rgba(var(--purple-rgb), 0.05);
}

.palette-selection {
    padding: 16px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.palette-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: capitalize;
}

.palette-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.palette-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.palette-description {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 10px;
    line-height: 1.4;
}

.palette-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--purple);
    font-weight: 500;
    font-size: 14px;
}

.palette-selected i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .color-palette-container {
        grid-template-columns: 1fr;
    }
    
    .palette-description {
        font-size: 13px;
    }
}

/** End of Color Palette Selection Styles */