/**
 * Snap Bullets Widget Pack - Styles
 * ================================
 */

/* ============================================
   1. SHAPE BULLETS
   ============================================ */

.snap-shape-bullets {
    display: flex;
    flex-direction: column;
}

/* Layout - Vertical */
.snap-sb-layout-vertical {
    flex-direction: column;
}

.snap-sb-layout-vertical .snap-sb-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

/* Layout - Horizontal */
.snap-sb-layout-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.snap-sb-layout-horizontal .snap-sb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

/* Icon Wrapper */
.snap-sb-icon-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.snap-sb-layout-horizontal .snap-sb-icon-wrapper {
    flex-direction: row;
}

/* Shape Base */
.snap-sb-shape {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #4054b2;
    border: 2px solid #4054b2;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Shape Variations */
.snap-sb-shape-diamond .snap-sb-shape {
    transform: rotate(45deg);
    border-radius: 4px;
}

.snap-sb-shape-diamond .snap-sb-icon {
    transform: rotate(-45deg);
}

.snap-sb-shape-shield .snap-sb-shape {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.snap-sb-shape-circle .snap-sb-shape {
    border-radius: 50%;
}

.snap-sb-shape-hexagon .snap-sb-shape {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.snap-sb-shape-square .snap-sb-shape {
    border-radius: 0;
}

.snap-sb-shape-rounded .snap-sb-shape {
    border-radius: 12px;
}

.snap-sb-shape-star .snap-sb-shape {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.snap-sb-shape-octagon .snap-sb-shape {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* Icon */
.snap-sb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
}

.snap-sb-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Connector Line - Vertical */
.snap-sb-layout-vertical .snap-sb-connector {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 30px);
    background-color: #e0e0e0;
    z-index: 1;
}

/* Connector Line - Horizontal */
.snap-sb-layout-horizontal .snap-sb-connector {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: calc(100% + 30px);
    background-color: #e0e0e0;
    z-index: 1;
}

/* Connector Styles */
.snap-sb-connector-dashed {
    background: repeating-linear-gradient(to bottom, #e0e0e0 0, #e0e0e0 8px, transparent 8px, transparent 16px) !important;
}

.snap-sb-layout-horizontal .snap-sb-connector-dashed {
    background: repeating-linear-gradient(to right, #e0e0e0 0, #e0e0e0 8px, transparent 8px, transparent 16px) !important;
}

.snap-sb-connector-dotted {
    background: repeating-linear-gradient(to bottom, #e0e0e0 0, #e0e0e0 4px, transparent 4px, transparent 8px) !important;
}

.snap-sb-layout-horizontal .snap-sb-connector-dotted {
    background: repeating-linear-gradient(to right, #e0e0e0 0, #e0e0e0 4px, transparent 4px, transparent 8px) !important;
}

/* Content */
.snap-sb-content {
    flex: 1;
    padding-left: 20px;
}

.snap-sb-layout-horizontal .snap-sb-content {
    padding-left: 0;
    padding-top: 15px;
}

.snap-sb-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    line-height: 1.3;
}

.snap-sb-description {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Hover Effects */
.snap-sb-item:hover .snap-sb-shape {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(64, 84, 178, 0.3);
}

.snap-sb-shape-diamond .snap-sb-item:hover .snap-sb-shape {
    transform: rotate(45deg) scale(1.05);
}

/* ============================================
   2. TIMELINE BULLETS
   ============================================ */

.snap-timeline-bullets {
    position: relative;
}

/* Timeline Line */
.snap-tl-line {
    position: absolute;
    background-color: #e0e0e0;
}

.snap-tl-vertical .snap-tl-line {
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
}

.snap-tl-vertical-alt .snap-tl-line {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
}

.snap-tl-horizontal .snap-tl-line {
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
}

/* Timeline Item */
.snap-tl-item {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.snap-tl-vertical .snap-tl-item {
    padding-left: 60px;
}

.snap-tl-vertical-alt .snap-tl-item {
    width: 50%;
}

.snap-tl-vertical-alt .snap-tl-item:nth-child(odd) {
    margin-left: 50%;
    padding-left: 40px;
}

.snap-tl-vertical-alt .snap-tl-item:nth-child(even) {
    padding-right: 40px;
    text-align: right;
    flex-direction: row-reverse;
}

.snap-tl-horizontal {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top: 50px;
}

.snap-tl-horizontal .snap-tl-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 200px;
    flex: 1;
}

/* Marker Wrapper */
.snap-tl-marker-wrap {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snap-tl-vertical .snap-tl-marker-wrap {
    left: 0;
    top: 0;
}

.snap-tl-vertical-alt .snap-tl-item:nth-child(odd) .snap-tl-marker-wrap {
    left: -20px;
}

.snap-tl-vertical-alt .snap-tl-item:nth-child(even) .snap-tl-marker-wrap {
    right: -20px;
    left: auto;
}

.snap-tl-horizontal .snap-tl-marker-wrap {
    position: relative;
    margin-bottom: 20px;
}

/* Marker */
.snap-tl-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4054b2;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.snap-tl-marker svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.snap-tl-number {
    font-weight: 600;
}

.snap-tl-dot {
    width: 10px;
    height: 10px;
    background-color: currentColor;
    border-radius: 50%;
}

/* Date */
.snap-tl-date {
    font-size: 14px;
    font-weight: 600;
    color: #4054b2;
    margin-bottom: 8px;
    display: inline-block;
}

/* Content */
.snap-tl-content-wrap {
    flex: 1;
}

.snap-tl-content {
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.snap-tl-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.snap-tl-desc {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* ============================================
   3. ICON BULLETS
   ============================================ */

.snap-ib-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.snap-ib-item {
    display: flex;
    align-items: flex-start;
}

.snap-ib-item a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    width: 100%;
    transition: all 0.3s ease;
}

.snap-ib-icon-right .snap-ib-item,
.snap-ib-icon-right .snap-ib-item a {
    justify-content: space-between;
}

/* Icon */
.snap-ib-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4054b2;
    transition: all 0.3s ease;
}

.snap-ib-icon svg {
    fill: currentColor;
}

/* Icon Styles */
.snap-ib-style-circle .snap-ib-icon,
.snap-ib-style-square .snap-ib-icon,
.snap-ib-style-rounded .snap-ib-icon {
    width: 30px;
    height: 30px;
    background-color: #eef1ff;
}

.snap-ib-style-circle .snap-ib-icon {
    border-radius: 50%;
}

.snap-ib-style-square .snap-ib-icon {
    border-radius: 0;
}

.snap-ib-style-rounded .snap-ib-icon {
    border-radius: 6px;
}

.snap-ib-style-outline-circle .snap-ib-icon,
.snap-ib-style-outline-square .snap-ib-icon {
    width: 30px;
    height: 30px;
    border: 2px solid #4054b2;
    background: transparent;
}

.snap-ib-style-outline-circle .snap-ib-icon {
    border-radius: 50%;
}

.snap-ib-style-outline-square .snap-ib-icon {
    border-radius: 0;
}

/* Text */
.snap-ib-text {
    color: #333333;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Divider */
.snap-ib-has-divider .snap-ib-item:not(:last-child) {
    border-bottom-style: solid;
    padding-bottom: 12px;
}

.snap-ib-divider-solid .snap-ib-item:not(:last-child) {
    border-bottom-style: solid;
}

.snap-ib-divider-dashed .snap-ib-item:not(:last-child) {
    border-bottom-style: dashed;
}

.snap-ib-divider-dotted .snap-ib-item:not(:last-child) {
    border-bottom-style: dotted;
}

/* ============================================
   4. STEP PROCESS
   ============================================ */

.snap-step-process {
    display: flex;
    position: relative;
}

.snap-sp-horizontal {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.snap-sp-vertical {
    flex-direction: column;
}

/* Step */
.snap-sp-step {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.snap-sp-vertical .snap-sp-step {
    flex-direction: row;
    align-items: flex-start;
}

/* Number Wrapper */
.snap-sp-number-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.snap-sp-vertical .snap-sp-number-wrap {
    flex-direction: column;
}

/* Number */
.snap-sp-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4054b2;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.snap-sp-number svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.snap-sp-num-text {
    line-height: 1;
}

/* Connector */
.snap-sp-connector {
    position: absolute;
    background-color: #e0e0e0;
    z-index: 1;
}

.snap-sp-horizontal .snap-sp-connector {
    top: 30px;
    left: 50%;
    width: 100%;
    height: 3px;
}

.snap-sp-vertical .snap-sp-connector {
    left: 30px;
    top: 100%;
    width: 3px;
    height: 100%;
}

.snap-sp-connector-dashed .snap-sp-connector {
    background: repeating-linear-gradient(to right, #e0e0e0 0, #e0e0e0 8px, transparent 8px, transparent 16px);
}

.snap-sp-vertical .snap-sp-connector-dashed .snap-sp-connector {
    background: repeating-linear-gradient(to bottom, #e0e0e0 0, #e0e0e0 8px, transparent 8px, transparent 16px);
}

.snap-sp-connector-dotted .snap-sp-connector {
    background: repeating-linear-gradient(to right, #e0e0e0 0, #e0e0e0 4px, transparent 4px, transparent 8px);
}

.snap-sp-vertical .snap-sp-connector-dotted .snap-sp-connector {
    background: repeating-linear-gradient(to bottom, #e0e0e0 0, #e0e0e0 4px, transparent 4px, transparent 8px);
}

/* Content */
.snap-sp-content {
    margin-top: 15px;
}

.snap-sp-vertical .snap-sp-content {
    margin-top: 0;
    margin-left: 20px;
}

.snap-sp-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.snap-sp-desc {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Hover */
.snap-sp-step:hover .snap-sp-number {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(64, 84, 178, 0.4);
}

/* ============================================
   5. ICON ACCORDION
   ============================================ */

.snap-icon-accordion {
    width: 100%;
}

.snap-ia-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Styles */
.snap-ia-style-boxed .snap-ia-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.snap-ia-style-minimal .snap-ia-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
}

.snap-ia-style-minimal .snap-ia-item:last-child {
    border-bottom: none;
}

/* Header */
.snap-ia-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.snap-ia-header:hover {
    background-color: #f8f9fa;
}

.snap-ia-active .snap-ia-header {
    background-color: #f0f3ff;
}

/* Icon */
.snap-ia-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4054b2;
    transition: all 0.3s ease;
}

.snap-ia-icon svg {
    fill: currentColor;
}

.snap-ia-icon-left .snap-ia-icon {
    margin-right: 12px;
}

.snap-ia-icon-right .snap-ia-header {
    flex-direction: row-reverse;
}

.snap-ia-icon-right .snap-ia-icon {
    margin-left: 12px;
}

/* Title */
.snap-ia-title {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
}

/* Toggle */
.snap-ia-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    color: #666666;
    transition: all 0.3s ease;
}

.snap-ia-active .snap-ia-toggle-arrow i,
.snap-ia-active .snap-ia-toggle-caret i {
    transform: rotate(180deg);
}

.snap-ia-toggle-plus .snap-ia-minus {
    display: none;
}

.snap-ia-active .snap-ia-toggle-plus .snap-ia-plus {
    display: none;
}

.snap-ia-active .snap-ia-toggle-plus .snap-ia-minus {
    display: block;
}

/* Content */
.snap-ia-content {
    padding: 15px 20px 20px;
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    border-top: 1px solid #e0e0e0;
}

.snap-ia-style-minimal .snap-ia-content {
    border-top: none;
}

/* ============================================
   6. NUMBER BOX
   ============================================ */

.snap-number-box {
    width: 100%;
}

.snap-nb-grid {
    display: grid;
    gap: 20px;
}

.snap-nb-cols-1 { grid-template-columns: repeat(1, 1fr); }
.snap-nb-cols-2 { grid-template-columns: repeat(2, 1fr); }
.snap-nb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.snap-nb-cols-4 { grid-template-columns: repeat(4, 1fr); }
.snap-nb-cols-5 { grid-template-columns: repeat(5, 1fr); }
.snap-nb-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Box */
.snap-nb-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.snap-nb-link {
    text-decoration: none;
    display: block;
}

/* Styles */
.snap-nb-style-card .snap-nb-box {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.snap-nb-style-card .snap-nb-box:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.snap-nb-style-bordered .snap-nb-box {
    border: 2px solid #e0e0e0;
}

.snap-nb-style-bordered .snap-nb-box:hover {
    border-color: #4054b2;
}

.snap-nb-style-minimal .snap-nb-box {
    background: transparent;
    padding: 15px;
}

.snap-nb-style-gradient .snap-nb-number {
    background: linear-gradient(135deg, #4054b2 0%, #6b7fd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Number Positions */
.snap-nb-pos-top .snap-nb-box {
    display: flex;
    flex-direction: column;
}

.snap-nb-pos-left .snap-nb-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.snap-nb-pos-left .snap-nb-content {
    flex: 1;
}

.snap-nb-pos-inline .snap-nb-number {
    display: inline;
    font-size: 24px;
}

.snap-nb-pos-background .snap-nb-box {
    position: relative;
}

.snap-nb-pos-background .snap-nb-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 80px;
    opacity: 0.1;
    z-index: 0;
    line-height: 1;
}

.snap-nb-pos-background .snap-nb-content {
    position: relative;
    z-index: 1;
}

/* Number */
.snap-nb-number {
    font-size: 48px;
    font-weight: 700;
    color: #4054b2;
    line-height: 1;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.snap-nb-pos-left .snap-nb-number {
    margin-bottom: 0;
    margin-right: 15px;
}

/* Icon */
.snap-nb-icon {
    margin-bottom: 10px;
    color: #4054b2;
}

.snap-nb-icon svg {
    fill: currentColor;
}

/* Content */
.snap-nb-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    transition: all 0.3s ease;
}

.snap-nb-desc {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .snap-nb-cols-tablet-1 { grid-template-columns: repeat(1, 1fr); }
    .snap-nb-cols-tablet-2 { grid-template-columns: repeat(2, 1fr); }
    .snap-nb-cols-tablet-3 { grid-template-columns: repeat(3, 1fr); }
    .snap-nb-cols-tablet-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
    /* Shape Bullets */
    .snap-sb-layout-horizontal {
        flex-direction: column;
    }
    
    .snap-sb-layout-horizontal .snap-sb-item {
        flex-direction: row;
        text-align: left;
        width: 100%;
    }
    
    .snap-sb-layout-horizontal .snap-sb-icon-wrapper {
        flex-direction: column;
    }
    
    .snap-sb-layout-horizontal .snap-sb-content {
        padding-top: 0;
        padding-left: 20px;
    }
    
    /* Timeline */
    .snap-tl-vertical-alt .snap-tl-item,
    .snap-tl-vertical-alt .snap-tl-item:nth-child(odd),
    .snap-tl-vertical-alt .snap-tl-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
        flex-direction: row;
    }
    
    .snap-tl-vertical-alt .snap-tl-line {
        left: 20px;
        transform: none;
    }
    
    .snap-tl-vertical-alt .snap-tl-item:nth-child(odd) .snap-tl-marker-wrap,
    .snap-tl-vertical-alt .snap-tl-item:nth-child(even) .snap-tl-marker-wrap {
        left: 0;
        right: auto;
    }
    
    /* Step Process */
    .snap-sp-horizontal {
        flex-direction: column;
    }
    
    .snap-sp-horizontal .snap-sp-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .snap-sp-horizontal .snap-sp-content {
        margin-top: 0;
        margin-left: 20px;
    }
    
    .snap-sp-horizontal .snap-sp-connector {
        left: 30px;
        top: 100%;
        width: 3px;
        height: 100%;
    }
    
    /* Number Box */
    .snap-nb-cols-mobile-1 { grid-template-columns: repeat(1, 1fr); }
    .snap-nb-cols-mobile-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   7. SIGNATURE PAD
   ============================================ */

.snap-signature-pad {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
}

/* Label */
.snap-sig-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.snap-sig-required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Agreement Text */
.snap-sig-agreement {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-left: 3px solid #4054b2;
    border-radius: 0 4px 4px 0;
}

/* Canvas Wrapper */
.snap-sig-canvas-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

/* Canvas */
.snap-sig-canvas {
    display: block;
    width: 100%;
    height: 150px;
    background-color: #f9f9f9;
    border: 1px solid #dddddd;
    border-radius: 4px;
    cursor: crosshair;
    touch-action: none;
}

/* Placeholder */
.snap-sig-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #cccccc;
    pointer-events: none;
    user-select: none;
}

/* Signature Line */
.snap-sig-line {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    border-bottom: 1px dashed #333333;
    pointer-events: none;
}

/* Actions */
.snap-sig-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

/* Clear Button */
.snap-sig-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background-color: #e74c3c;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.snap-sig-clear:hover {
    background-color: #c0392b;
}

.snap-sig-clear:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
}

/* Additional Fields */
.snap-sig-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.snap-sig-field {
    flex: 1;
    min-width: 200px;
}

.snap-sig-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 5px;
}

.snap-sig-field input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.snap-sig-field input:focus {
    outline: none;
    border-color: #4054b2;
    box-shadow: 0 0 0 3px rgba(64, 84, 178, 0.1);
}

/* Responsive */
@media (max-width: 767px) {
    .snap-sig-fields {
        flex-direction: column;
    }
    
    .snap-sig-field {
        min-width: 100%;
    }
}

/* ============================================
   8. STARFIELD BACKGROUND
   ============================================ */

.snap-starfield {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #0a0a20;
}

.snap-starfield-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.snap-starfield-as-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.snap-starfield-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Content Overlay */
.snap-starfield-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    z-index: 10;
    padding: 20px;
}

.snap-starfield-title {
    margin: 0 0 15px 0;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.snap-starfield-subtitle {
    margin: 0;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 767px) {
    .snap-starfield-title {
        font-size: 32px;
    }
    
    .snap-starfield-subtitle {
        font-size: 16px;
    }
}

/* ============================================
   9. GLASS CARD
   ============================================ */

.snap-glass-card {
    position: relative;
    border-style: solid;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 100px;
}

.snap-glass-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.snap-glass-icon {
    display: inline-block;
    margin-bottom: 20px;
}

.snap-glass-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
}

.snap-glass-desc {
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.6;
}

.snap-glass-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.snap-glass-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   10. ANIMATED COUNTER
   ============================================ */

.snap-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.snap-counter-item {
    text-align: center;
    padding: 30px 20px;
}

.snap-counter-layout-icon-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.snap-counter-layout-icon-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.snap-counter-layout-icon-left .snap-counter-content {
    flex: 1;
}

.snap-counter-icon {
    font-size: 40px;
    color: #4054b2;
    margin-bottom: 15px;
}

.snap-counter-layout-icon-left .snap-counter-icon {
    margin-bottom: 0;
    margin-right: 20px;
}

.snap-counter-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #333333;
}

.snap-counter-prefix,
.snap-counter-suffix {
    font-size: inherit;
}

.snap-counter-title {
    margin-top: 10px;
    font-size: 16px;
    color: #666666;
}

/* ============================================
   11. MARQUEE SCROLL
   ============================================ */

.snap-marquee {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.snap-marquee-gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.snap-marquee-gradient-left {
    left: 0;
}

.snap-marquee-gradient-right {
    right: 0;
}

.snap-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: snapMarqueeScroll 20s linear infinite;
}

.snap-marquee-pause-hover:hover .snap-marquee-track {
    animation-play-state: paused;
}

@keyframes snapMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.snap-marquee-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.snap-marquee-img {
    width: 150px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.snap-marquee-grayscale .snap-marquee-img {
    filter: grayscale(100%);
}

.snap-marquee-grayscale.snap-marquee-grayscale-hover .snap-marquee-img:hover {
    filter: grayscale(0%);
}

.snap-marquee-text {
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

.snap-marquee-text-stroke {
    -webkit-text-stroke-width: 1px;
    -webkit-text-fill-color: transparent;
}

.snap-marquee-separator {
    font-size: 16px;
    color: #4054b2;
}

/* ============================================
   12. GRADIENT TEXT
   ============================================ */

.snap-gradient-text-wrap {
    display: block;
}

.snap-gradient-text {
    margin: 0;
    padding: 0;
    display: inline-block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.snap-gradient-text a {
    text-decoration: none;
    color: inherit;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes snapGradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive for new widgets */
@media (max-width: 1024px) {
    .snap-counters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .snap-counters {
        grid-template-columns: 1fr;
    }
    
    .snap-counter-number {
        font-size: 36px;
    }
    
    .snap-gradient-text {
        font-size: 32px;
    }
    
    .snap-marquee-gradient {
        width: 50px;
    }
}

/* ============================================
   13. POST GRID
   ============================================ */

.snap-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.snap-post-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.snap-post-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.snap-post-hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Post Layouts */
.snap-post-layout-list .snap-post-item {
    display: flex;
    flex-direction: row;
}

.snap-post-layout-list .snap-post-thumbnail-wrap {
    flex: 0 0 300px;
}

.snap-post-layout-list .snap-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.snap-post-layout-overlay .snap-post-item {
    position: relative;
}

.snap-post-layout-overlay .snap-post-thumbnail-wrap {
    position: relative;
}

.snap-post-layout-overlay .snap-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.snap-post-layout-overlay .snap-post-title a,
.snap-post-layout-overlay .snap-post-meta,
.snap-post-layout-overlay .snap-post-excerpt {
    color: #fff;
}

.snap-post-layout-minimal .snap-post-item {
    background: transparent;
    box-shadow: none;
}

/* Post Thumbnail */
.snap-post-thumbnail {
    display: block;
    position: relative;
    padding-bottom: 66%;
    overflow: hidden;
}

.snap-post-layout-masonry .snap-post-thumbnail {
    padding-bottom: 0;
}

.snap-post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.snap-post-layout-masonry .snap-post-thumbnail img {
    position: relative;
    height: auto;
}

.snap-post-img-zoom:hover .snap-post-thumbnail img {
    transform: scale(1.1);
}

.snap-post-img-grayscale .snap-post-thumbnail img {
    filter: grayscale(100%);
}

.snap-post-img-grayscale:hover .snap-post-thumbnail img {
    filter: grayscale(0%);
}

.snap-post-img-blur:hover .snap-post-thumbnail img {
    filter: blur(3px);
}

/* Post Content */
.snap-post-content {
    padding: 20px;
}

.snap-post-category {
    margin-bottom: 10px;
}

.snap-post-category a {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    background: #4054b2;
    color: #fff;
    border-radius: 3px;
}

.snap-post-category-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.snap-post-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.snap-post-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.snap-post-title a:hover {
    color: #4054b2;
}

.snap-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #999999;
}

.snap-post-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.snap-post-meta i {
    color: #4054b2;
}

.snap-post-meta a {
    color: inherit;
    text-decoration: none;
}

.snap-post-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 15px;
}

.snap-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4054b2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.snap-post-read-more:hover {
    gap: 12px;
}

.snap-post-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.snap-post-pagination a,
.snap-post-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.snap-post-pagination a:hover,
.snap-post-pagination span.current {
    background: #4054b2;
    border-color: #4054b2;
    color: #fff;
}

.snap-post-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.snap-post-load-more {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    background: #4054b2;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.snap-post-load-more:hover {
    background: #2d3a8c;
}

/* ============================================
   14. TESTIMONIALS
   ============================================ */

.snap-testimonial-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.snap-testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.snap-testimonial-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.snap-testimonial-carousel .snap-testimonial-item {
    flex: 0 0 350px;
    scroll-snap-align: start;
}

.snap-testimonial-item {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.snap-testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Testimonial Styles */
.snap-testimonial-style-bubble .snap-testimonial-item {
    position: relative;
}

.snap-testimonial-style-bubble .snap-testimonial-item::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #ffffff;
}

.snap-testimonial-style-bordered .snap-testimonial-item {
    border: 2px solid #e0e0e0;
    box-shadow: none;
}

.snap-testimonial-style-minimal .snap-testimonial-item {
    background: transparent;
    box-shadow: none;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Quote */
.snap-testimonial-quote {
    font-size: 40px;
    color: #4054b2;
    margin-bottom: 15px;
    line-height: 1;
}

.snap-testimonial-quote-bg {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    opacity: 0.1;
    margin: 0;
}

.snap-testimonial-quote-inline {
    font-size: 20px;
    margin-right: 5px;
    vertical-align: top;
}

/* Rating */
.snap-testimonial-rating {
    margin-bottom: 15px;
}

.snap-testimonial-rating i {
    color: #ffc107;
    font-size: 16px;
    margin-right: 2px;
}

.snap-testimonial-rating i.empty {
    color: #dddddd;
}

/* Content */
.snap-testimonial-content {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    font-style: italic;
    margin-bottom: 20px;
}

/* Author */
.snap-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.snap-testimonial-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.snap-testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 3px;
}

.snap-testimonial-title {
    font-size: 14px;
    color: #888888;
}

/* ============================================
   15. PRICING TABLE
   ============================================ */

.snap-pricing-table {
    position: relative;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.snap-pricing-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Ribbon */
.snap-pricing-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: #4054b2;
    color: #ffffff;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Header */
.snap-pricing-header {
    margin-bottom: 25px;
}

.snap-pricing-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
}

.snap-pricing-subtitle {
    margin: 0;
    font-size: 14px;
    color: #888888;
}

/* Price */
.snap-pricing-price {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.snap-pricing-original {
    display: block;
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.snap-pricing-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1;
}

.snap-pricing-currency {
    font-size: 24px;
    font-weight: 600;
    margin-top: 8px;
}

.snap-pricing-amount {
    font-size: 60px;
    font-weight: 700;
    color: #333333;
}

.snap-pricing-decimal {
    font-size: 24px;
    font-weight: 600;
    margin-top: 8px;
}

.snap-pricing-period {
    display: block;
    font-size: 14px;
    color: #888888;
    margin-top: 10px;
}

/* Features */
.snap-pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.snap-pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #555555;
}

.snap-pricing-feature i {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.snap-pricing-feature-check {
    color: #28a745;
}

.snap-pricing-feature-cross {
    color: #dc3545;
}

.snap-pricing-feature-crossed {
    opacity: 0.5;
}

.snap-pricing-feature-crossed span {
    text-decoration: line-through;
}

.snap-pricing-feature-highlight {
    color: #4054b2;
    font-weight: 600;
}

/* Button */
.snap-pricing-footer {
    margin-top: auto;
}

.snap-pricing-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: #4054b2;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.snap-pricing-btn-full {
    display: block;
    width: 100%;
}

.snap-pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.snap-pricing-footer-text {
    margin: 15px 0 0 0;
    font-size: 13px;
    color: #888888;
}

/* Responsive */
@media (max-width: 1024px) {
    .snap-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .snap-testimonial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .snap-post-grid,
    .snap-testimonial-grid {
        grid-template-columns: 1fr !important;
    }
    
    .snap-post-layout-list .snap-post-item {
        flex-direction: column;
    }
    
    .snap-post-layout-list .snap-post-thumbnail-wrap {
        flex: none;
    }
    
    .snap-pricing-amount {
        font-size: 48px;
    }
}
