/********* VCARD UPDATE PAGE STYLES *********/

.vcard-update-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
    /* background: #f8f9fa !important; */
    min-height: 100vh !important;
}

/* Header */
.vcard-update-header {
    margin-top: -2%;
    margin-bottom: 2rem !important;
}

.vcard-update-header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
}

.vcard-update-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}
body[data-theme-style="dark"]  .vcard-update-title  {
 color: #ffffff !important;
}


.vcard-update-title i {
    color: #6366f1 !important;
}

.vcard-update-header-actions {
    display: flex !important;
    gap: 0.5rem !important;
    align-items: center !important;
}

.vcard-update-action-btn {
    background: none !important;
    border: none !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
}

.vcard-update-action-btn:hover {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
}

/* Tabs */
.vcard-update-tabs {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;

    border-radius: 12px !important;
}

.vcard-update-tab {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    background: none !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-size: 14px !important;
}

.vcard-update-tab:hover {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
}

.vcard-update-tab.active {
    background: linear-gradient(260.35deg, rgba(96, 7, 212, 0.8) -12.41%, #3883F4 89.89%) !important;

    color: white !important;
}

.vcard-update-tab i {
    font-size: 16px !important;
}

/* Container */
.vcard-update-container {
    background: white !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Sections */
.vcard-update-section {
    margin-bottom: 2rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.vcard-update-section:last-of-type {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.vcard-update-section-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.vcard-update-section-header i {
    color: #6366f1 !important;
    font-size: 18px !important;
}

.vcard-update-section-header h2 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin: 0 !important;
}

.vcard-update-section-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

/* Form Groups */
.vcard-update-form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.vcard-update-form-group label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
}

.vcard-update-form-group small {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-top: 0.25rem !important;
}

/* Inputs */
.vcard-update-input,
.vcard-update-select,
.vcard-update-textarea {
    padding: 0.75rem 1rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
    background: white !important;
    color: #1f2937 !important;
}

.vcard-update-input:focus,
.vcard-update-select:focus,
.vcard-update-textarea:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.vcard-update-input::placeholder,
.vcard-update-textarea::placeholder {
    color: #d1d5db !important;
}

.vcard-update-textarea {
    resize: vertical !important;
    min-height: 100px !important;
}

.vcard-update-input.is-invalid,
.vcard-update-select.is-invalid,
.vcard-update-textarea.is-invalid {
    border-color: #ef4444 !important;
}

.vcard-update-input.is-invalid:focus,
.vcard-update-select.is-invalid:focus,
.vcard-update-textarea.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Input Groups */
.vcard-update-input-group {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: white !important;
}

.vcard-update-input-prefix,
.vcard-update-input-suffix {
    padding: 0.75rem 1rem !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.vcard-update-input-group .vcard-update-input {
    flex: 1 !important;
    border: none !important;
    padding: 0.75rem 1rem !important;
}

.vcard-update-input-group .vcard-update-input:focus {
    box-shadow: none !important;
}

/* Toggle Switch */
.vcard-update-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    cursor: pointer !important;
    user-select: none !important;
}

.vcard-update-toggle-input {
    display: none !important;
}

.vcard-update-toggle-slider {
    position: relative !important;
    display: inline-block !important;
    width: 48px !important;
    height: 28px !important;
    background: #d1d5db !important;
    border-radius: 14px !important;
    transition: background 0.3s ease !important;
    flex-shrink: 0 !important;
}

.vcard-update-toggle-slider::after {
    content: '' !important;
    position: absolute !important;
    width: 24px !important;
    height: 24px !important;
    background: white !important;
    border-radius: 50% !important;
    top: 2px !important;
    left: 2px !important;
    transition: left 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.vcard-update-toggle-input:checked + .vcard-update-toggle-slider {
    background: #6366f1 !important;
}

.vcard-update-toggle-input:checked + .vcard-update-toggle-slider::after {
    left: 22px !important;
}

.vcard-update-toggle span {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
}

/* Collapse Buttons */
.vcard-update-collapse-btn {

    width: 100% !important;
    padding: 1rem 1.5rem !important;
    background: #ADADFB1A !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    margin: 1.5rem auto !important;
    text-align: center !important;
}


.vcard-update-collapse-btn:hover {
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
}

.vcard-update-collapse-btn i {
    color: #6366f1 !important;
    font-size: 16px !important;
}

/* Theme Grid */
.vcard-update-theme-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 1rem !important;
}

.vcard-update-theme-option {
    position: relative !important;
    cursor: pointer !important;
}

.vcard-update-theme-input {
    display: none !important;
}

.vcard-update-theme-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: white !important;
    transition: all 0.3s ease !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    gap: 0.5rem !important;
}

.vcard-update-theme-input:checked + .vcard-update-theme-label {
    border-color: #6366f1 !important;
    background: #f0f4ff !important;
    color: #6366f1 !important;
}

.vcard-update-theme-label:hover {
    border-color: #d1d5db !important;
}

/* Font Grid */
.vcard-update-font-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    gap: 1rem !important;
}

.vcard-update-font-option {
    position: relative !important;
    cursor: pointer !important;
}

.vcard-update-font-input {
    display: none !important;
}

.vcard-update-font-option {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: white !important;
    transition: all 0.3s ease !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    min-height: 50px !important;
}

.vcard-update-font-input:checked + .vcard-update-font-option {
    border-color: #6366f1 !important;
    background: #f0f4ff !important;
    color: #6366f1 !important;
}

.vcard-update-font-option:hover {
    border-color: #d1d5db !important;
}

/* Background Grid */
.vcard-update-background-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
    gap: 2rem !important;
}

.vcard-update-background-preset {
    position: relative !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.vcard-update-background-preset:hover {
    border-color: #d1d5db !important;
}

input[type="radio"]:checked + .vcard-update-background-preset {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* Checkbox */
.vcard-update-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.vcard-update-checkbox-input {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    accent-color: #6366f1 !important;
}

.vcard-update-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #374151 !important;
    flex: 1 !important;
}

/* Submit Button */
.vcard-update-submit-btn {
    width: 100% !important;
    padding: 1rem !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 2rem !important;
}

.vcard-update-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3) !important;
}

.vcard-update-submit-btn:active {
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .vcard-update-wrapper {
        padding: 1rem 0.5rem !important;
    }

    .vcard-update-header {
        padding: 1.5rem !important;
    }

    .vcard-update-header-content {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .vcard-update-title {
        font-size: 22px !important;
    }

    .vcard-update-container {
        padding: 1.5rem !important;
    }

    .vcard-update-tabs {
        flex-wrap: wrap !important;
    }

    .vcard-update-tab {
        padding: 0.5rem 1rem !important;
        font-size: 13px !important;
    }

    .vcard-update-theme-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    }

    .vcard-update-font-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
    }

    .vcard-update-background-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .vcard-update-wrapper {
        padding: 0.75rem 0.5rem !important;
    }

    .vcard-update-header {
        padding: 1rem !important;
    }

    .vcard-update-title {
        font-size: 18px !important;
    }

    .vcard-update-container {
        padding: 1rem !important;
    }

    .vcard-update-collapse-btn {
        padding: 0.75rem 1rem !important;
        font-size: 13px !important;
    }

    .vcard-update-submit-btn {
        padding: 0.75rem !important;
        font-size: 14px !important;
    }
}