/* NEW STYLES FOR AUTHENTICATION */
.auth-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.layout-preview h3{
   margin-bottom: 20px;
}

.auth-modal {
    background: white;
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.auth-header h2 {
    color: #1e3a5f;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.google-signin-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.google-icon {
    width: 18px;
    height: 18px;
}

.otp-container {
    display: none;
    text-align: center;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.otp-input:focus {
    border-color: #1971c2;
    outline: none;
}

.verify-btn {
    width: 100%;
    padding: 12px;
    background: #1971c2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.verify-btn:hover {
    background: #155a9c;
}

.verify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.auth-error {
    color: #e74c3c;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: white;
    font-size: 14px;
}

.logout-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    color: #222;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    align-items: center;
    background: #1e3a5f;
    color: white;
    padding: 10px 40px;
}

h1 {
    text-align: center;
    margin: 40px 0 20px;
}

.gallery-item.single-accessory img {
    width: 30%;
    height: auto;
    aspect-ratio: 1 / 2;
    object-fit: cover;
}

.section {
    display: none;
    max-width: 900px;
    margin: auto;
    padding: 0 20px 40px;
}

.section.active {
    display: block;
}

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

.frame-grid,
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-items: center;
    gap: 20px 50px;
    margin: 40px 20px;
}

.frame-card,
.color-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    cursor: pointer;
    transition: 0.2s;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frame-card.active,
.color-card.active {
    border-color: #1971c2;
    background-color: #f8f9fa;
}

.frame-img {
    display: grid;
    gap: 5px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.frame-card[data-count="1"] .frame-img {
    grid-template-columns: repeat(1, 1fr);
}

.frame-card[data-count="2"] .frame-img {
    grid-template-columns: repeat(2, 1fr);
}

.frame-card[data-count="3"].variant1 .frame-img {
    grid-template-columns: repeat(3, 1fr);
}

.frame-card[data-count="3"].variant2 .frame-img {
    grid-template-columns: repeat(3, 1fr);
}

.frame-card[data-count="6"] .frame-img {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.grey-box {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border: 1px solid #495057;
    border-radius: 2px;
}

.color-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 2px solid transparent;
}

.color-card.active .color-img {
    border-color: #1971c2;
}

.subtitle {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.layout-preview {
    margin: 40px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.preview-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.preview-box {
    display: grid;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.preview-box.frame-1 {
    grid-template-columns: repeat(1, 1fr);
}

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

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

.preview-box.frame-6 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.preview-box .grey-box {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    border: 1px solid #495057;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
    background: #e9ecef;
}

.preview-box .grey-box.active {
    border-color: #1971c2;
    background: #e7f3ff;
    color: #1971c2;
}

.preview-box .grey-box.has-content {
    background: none !important;
    border: none !important;
}

.preview-box .grey-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.preview-box .grey-box .customize-grid {
    width: 100%;
    height: 100%;
    background: none;
    border: none;
}

.preview-box .grey-box .accessory-split {
    width: 100%;
    height: 100%;
    display: flex;
    background: none;
    border: none;
}

.preview-box .grey-box .accessory-half {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.preview-box .grey-box .accessory-half.left {
    border-right: 1px dashed #ccc;
}

.preview-box .grey-box .accessory-half.right {
    border-left: 1px dashed #ccc;
}

.preview-box .grey-box .accessory-half:hover {
    background: rgba(25, 113, 194, 0.1);
}

.preview-box .grey-box .accessory-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-selection {
    display: none;
    margin-top: 30px;
}

.image-selection.active {
    display: block;
}

.image-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-option {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}

.image-option.active {
    border-color: #1971c2;
    background-color: #e7f3ff;
}

.image-placeholder {
    width: 100px;
    height: 100px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.image-placeholder img {
    width: 70px;
}

.image-option p {
    margin: 0;
    font-size: 12px;
    color: #333;
}

.customize-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0px;
    width: 100%;
    height: 100%;
    justify-items: center;
    align-items: center;
    padding: 5px;
    box-sizing: border-box;
}

.customize-grid.two-touch {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
}

.customize-spot {
    display: flex;
    height: 25px;
    width: 25px;
    justify-content: center;
    align-items: center;
    border-radius: 1px;
    cursor: pointer;
    transition: 0.2s;
    background: rgba(255, 255, 255, 0.8);
}

.customize-spot:hover {
    border-color: #1971c2;
    background: #e7f3ff;
}

.plus-icon {
    font-size: 16px;
    transform: translateY(-10%);
    color: #ff0000;
}

.customize-spot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}

.gallery-item:hover {
    border-color: #1971c2;
}

.gallery-item.selected {
    border-color: #1971c2;
    background-color: #e7f3ff;
}

.gallery-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.upload-section {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.upload-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1971c2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.upload-btn:hover {
    background: #155a9c;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 20px;
}

.nav-btn {
    padding: 10px 20px;
    background: #1971c2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.nav-btn:hover:not(:disabled) {
    background: #155a9c;
}

.summary-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.summary-preview {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.summary-details {
    flex: 1;
    min-width: 300px;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.summary-table th,
.summary-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.summary-table th {
    background-color: #f8f9fa;
}

.print-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #22a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.print-btn:hover {
    background: #218838;
}

footer {
    background: #1e3a5f;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.watermark {
    position: absolute;
    font-size: 80px;
    font-weight: bold;
    color: rgba(30, 58, 95, 0.1);
    z-index: -1;
    pointer-events: none;
    transform: rotate(-45deg);
}

.watermark-1 {
    top: 20%;
    left: 10%;
}

.watermark-2 {
    top: 50%;
    left: 60%;
}

.watermark-3 {
    top: 80%;
    left: 20%;
}

.watermark-4 {
    top: 30%;
    left: 70%;
}

@media (max-width: 500px) {
    header {
        padding: 5px 10px;
    }

    .summary-section {
        padding: 10px;
    }
    h1{
        font-size: 25px;
    }
    h3{
        margin-bottom: 0;
        margin-top: 35px;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    #summary-section,
    #summary-section * {
        visibility: visible !important;
    }

    #summary-section {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10mm !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .summary-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        page-break-inside: avoid !important;
        overflow: visible !important;
    }

    .summary-preview,
    .summary-details {
        width: 100% !important;
        margin-bottom: 20px !important;
        page-break-inside: avoid !important;
        overflow: visible !important;
    }

    .summary-table {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        page-break-inside: auto !important;
    }

    .summary-table th,
    .summary-table td {
        word-wrap: break-word !important;
        overflow: hidden !important;
        white-space: normal !important;
    }

    .preview-container {
        justify-content: flex-start !important;
    }

    .navigation,
    .nav-btn,
    header,
    footer,
    .print-btn {
        display: none !important;
    }

    .watermark {
        color: rgba(30, 58, 95, 0.05) !important;
        font-size: 120px !important;
    }

    @page {
        margin: 10mm;
        size: A4 portrait;
    }
}

.preview-box .grey-box.active {
    border: 2px solid #1971c2 !important;
    background-color: #e7f3ff !important;
    box-shadow: 0 0 5px rgba(25, 113, 194, 0.5);
}

.customize-spot.active {
    border: 2px solid #1971c2 !important;
    background-color: #e7f3ff !important;
    box-shadow: 0 0 5px rgba(25, 113, 194, 0.5);
}

.image-option.active {
    border: 2px solid #1971c2 !important;
    background-color: #e7f3ff !important;
    box-shadow: 0 0 6px rgba(25, 113, 194, 0.4);
}

.gallery-item.selected {
    border: 2px solid #1971c2 !important;
    background-color: #e7f3ff !important;
    box-shadow: 0 0 6px rgba(25, 113, 194, 0.4);
}

.modal-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.modal-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.modal-tab.active {
    border-bottom-color: #1971c2;
    font-weight: bold;
    color: #1971c2;
}

.accessory-half.no-border {
    border: none !important;
}

.custom-color-card input[type="color"] {
    border-radius: 8px;
    padding: 0;
    background: none;
}

.custom-color-card.active {
    border-color: #1971c2;
    background-color: #f0f8ff;
}

/* NEW STYLES FOR CUSTOMIZATION OPTIONS */
.customization-options {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: none;
}

.customization-options.active {
    display: block;
}

.customization-options h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.touch-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.touch-option {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    background: white;
}

.touch-option.active {
    border-color: #1971c2;
    background-color: #e7f3ff;
}

.touch-option:hover {
    border-color: #1971c2;
}

/* NEW STYLES FOR OTP COUNTDOWN */
.otp-countdown {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
}

.resend-otp-btn {
    background: transparent;
    border: none;
    color: #1971c2;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 10px;
}

.resend-otp-btn:hover {
    color: #155a9c;
}

.resend-otp-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: none;
}

/* Add to existing styles.css */
.signin-another-account-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #1971c2;
    color: #1971c2;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
    margin-top: 10px;
    display: none;
}

.signin-another-account-btn:hover {
    background: #1971c2;
    color: white;
}

.otp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* Profile Dropdown Styles */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-name {
    color: white;
    font-size: 14px;
    display: none;
    /* Hide name from header */
}

.profile-dropdown {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    min-width: 250px;
    border: 1px solid #e1e5e9;
}

.dropdown-content {
    padding: 0;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.user-details {
    flex: 1;
}

.user-details .user-name {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.user-email {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: #e1e5e9;
    margin: 0;
}

.dropdown-item {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.logout-item {
    color: #e74c3c;
}

.logout-item:hover {
    background: #fee;
    color: #c0392b;
}

/* Remove old logout button styles */
.logout-btn {
    display: none !important;
}

/* Profile Dropdown Styles */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background-color 0.2s;
    border: 2px solid transparent;
    /* Add border for visibility */
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: #ccc;
    /* Fallback background */
    display: block;
    /* Ensure it's displayed as block */
}

/* Debug: Add visible border when avatar fails to load */
.user-avatar[src=""],
.user-avatar:not([src]) {
    border: 2px dashed red !important;
    /* Show red dashed border if no src */
    background: #ffebee;
}

.user-avatar::after {
    content: "No Image";
    color: #999;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.user-name {
    color: white;
    font-size: 14px;
    display: none;
    /* Hide name from header */
}

.profile-dropdown {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    min-width: 250px;
    border: 1px solid #e1e5e9;
}

.dropdown-content {
    padding: 0;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    background: #ccc;
    /* Fallback background */
}

.dropdown-avatar[src=""],
.dropdown-avatar:not([src]) {
    border: 2px dashed red !important;
    background: #ffebee;
}

.user-details {
    flex: 1;
}

.user-details .user-name {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.user-email {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: #e1e5e9;
    margin: 0;
}

.dropdown-item {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.logout-item {
    color: #e74c3c;
}

.logout-item:hover {
    background: #fee;
    color: #c0392b;
}

/* Remove old logout button styles */
.logout-btn {
    display: none !important;
}

/* Settings Button Styles */
.settings-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 0px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 32px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.settings-btn:hover {
    transform: scale(1.05);
}

.settings-btn:active {
    transform: scale(0.95);
}

.settings-btn i {
    font-size: 18px;
}

/* Animation for gear icon on hover */
.settings-btn:hover i {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Visual indicator for restricted quads */
.grey-box[data-restriction]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.grey-box[data-restriction="regular-customize"]::before {
    background: #1971c2;
}

.grey-box[data-restriction="accessory-only"]::before {
    background: #28a745;
}

/* Switch Name Modal Styles */
#switch-name-modal .modal-body {
    padding: 20px;
}

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

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #1971c2;
    outline: none;
    box-shadow: 0 0 5px rgba(25, 113, 194, 0.3);
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .nav-btn {
    flex: 1;
    padding: 12px;
}

/* Preview label styles */
.preview-label {
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #1971c2;
}

.preview-label h5 {
    margin: 0;
    color: #1e3a5f;
    font-size: 16px;
    font-weight: 600;
}

.preview-label-text {
    color: #495057;
    font-size: 14px;
    margin-top: 5px;
}