/**
 * Espectro Product Templates - Main Stylesheet
 */

/* ====================
   Archive/Category Page Styles
   ==================== */

.espectro-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.espectro-breadcrumb {
    margin-bottom: 20px;
}

.espectro-breadcrumb nav {
    font-size: 14px;
    color: #666;
}

.espectro-breadcrumb a {
    color: #2493d1;
    text-decoration: none;
}

.espectro-breadcrumb a:hover {
    text-decoration: underline;
}

.espectro-archive-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.espectro-archive-layout {
    display: flex;
    gap: 40px;
}

/* Sidebar Styles */
.espectro-sidebar {
    flex: 0 0 250px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.espectro-categories-widget .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.espectro-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.espectro-category-list > li {
    margin-bottom: 8px;
}

.espectro-category-list a {
    display: block;
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.espectro-category-list a:hover {
    background: #e5e7eb;
    color: #1a1a1a;
}

.espectro-category-list .current-cat > a {
    background: #2493d1;
    color: white;
    font-weight: 600;
}

.espectro-subcategory-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

.espectro-subcategory-list li {
    margin-bottom: 5px;
}

.espectro-subcategory-list a {
    font-size: 14px;
    padding: 6px 10px;
}

/* Main Content Styles */
.espectro-main-content {
    flex: 1;
}

.espectro-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Product Card Styles */
.espectro-product-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.espectro-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.espectro-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #f7f7f7;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(0, 0, 0, 0.03) 0,
        rgba(0, 0, 0, 0.03) 2px,
        transparent 2px,
        transparent 8px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.espectro-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.espectro-product-card:hover .espectro-product-image img {
    transform: none;
}

.espectro-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2493d1;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
}

.espectro-product-info {
    padding: 10px 14px 12px;
}

.espectro-product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.35;
}

.espectro-product-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.espectro-product-title a:hover {
    color: #2493d1;
}

.espectro-product-short-description {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    margin: -8px 0 14px;
}

.espectro-product-summary .espectro-product-short-description {
    font-size: 14px;
    margin: 6px 0 12px;
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 6px;
    padding: 10px 12px;
    color: #374151;
}

.espectro-product-summary .espectro-product-short-description p {
    margin: 0 0 6px;
}

.espectro-product-summary .espectro-product-short-description p:last-child {
    margin-bottom: 0;
}

.espectro-product-buttons {
    display: flex;
    gap: 10px;
}

.espectro-btn {
    flex: 1;
    padding: 7px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.espectro-btn-price {
    background: #0f5ba8;
    color: white;
    transition: all 0.3s;
}

.espectro-btn-price:hover {
    background: #0d4d8f;
    color: white;
    box-shadow: 0 2px 8px rgba(15, 91, 168, 0.3);
}

.espectro-btn-detail {
    background: #2493d1;
    color: white;
    transition: all 0.3s;
}

.espectro-btn-detail:hover {
    background: #1d7ab5;
    color: white;
    box-shadow: 0 2px 8px rgba(36, 147, 209, 0.3);
}

/* Pagination */
.espectro-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.espectro-pagination .page-numbers {
    padding: 10px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.espectro-pagination .page-numbers:hover,
.espectro-pagination .page-numbers.current {
    background: #2493d1;
    color: white;
    border-color: #2493d1;
}

/* No Products */
.espectro-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

/* ====================
   Single Product Page Styles
   ==================== */

.espectro-single-product {
    max-width: none;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    display: block;
    float: none;
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.espectro-single-product .espectro-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.espectro-back-link {
    color: #2493d1;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.espectro-back-link:hover {
    text-decoration: underline;
}

.back-arrow {
    font-size: 18px;
}

/* Product Main Section */
.espectro-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 50px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Product Gallery */
.espectro-product-gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.espectro-main-image {
    background: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eef0f2;
    width: 100%;
    display: block;
    line-height: 0;
}

.espectro-featured-image {
    width: 100%;
    height: auto;
    object-fit: cover !important;
    display: block;
}

.espectro-thumbnail-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 36px;
}

.espectro-thumbnail-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;
    margin: 0;
}

.espectro-thumbnail-gallery {
    display: flex !important;
    gap: 10px;
    overflow-x: visible;
    padding: 5px 0;
    scroll-behavior: smooth;
    flex-wrap: nowrap !important;
}

.espectro-thumbnail-viewport::-webkit-scrollbar {
    display: none;
}

.espectro-thumb-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1f2937;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 0;
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.espectro-thumb-prev {
    left: 0;
}

.espectro-thumb-next {
    right: 0;
}

.espectro-thumb-btn.is-visible {
    display: flex;
}

.espectro-thumb-btn:hover {
    border-color: #b3d9f2;
    color: #2493d1;
}

.espectro-thumb-icon {
    font-size: 18px;
    line-height: 1;
}

.espectro-thumbnail {
    flex: 0 0 72px;
    height: 72px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #ffffff;
}

.espectro-thumbnail:hover,
.espectro-thumbnail.active {
    border-color: #2493d1;
    box-shadow: 0 0 0 1px rgba(36, 147, 209, 0.2);
}

.espectro-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Summary */
.espectro-product-summary {
    padding: 20px 0;
}

.espectro-product-summary .espectro-product-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #1a1a1a;
}

.espectro-product-specs {
    background: #ffffff;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #eef0f2;
}

.espectro-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.espectro-spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
}

.spec-value {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 13px;
}

.espectro-view-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff1e0;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #8a4b1f;
}

.view-icon {
    font-size: 18px;
}

.view-number {
    font-weight: 700;
}

.espectro-action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.espectro-btn-primary {
    flex: 1;
    background: #2493d1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 16px;
    transition: all 0.3s;
}

.espectro-btn-primary:hover {
    background: #1d7ab5;
    color: white;
    box-shadow: 0 4px 12px rgba(36, 147, 209, 0.4);
}

.espectro-btn-primary .btn-icon {
    fill: white;
}

.espectro-btn-secondary {
    flex: 1;
    background: #2493d1;
    color: #ffffff;
    border: 2px solid #2493d1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 16px;
    transition: all 0.3s;
}

.espectro-btn-secondary:hover {
    background: #1d7ab5;
    border-color: #1d7ab5;
    color: white;
    box-shadow: 0 4px 12px rgba(36, 147, 209, 0.4);
}

.espectro-btn-secondary .btn-icon {
    fill: white;
}

.espectro-whatsapp-button {
    margin-bottom: 20px;
}

.espectro-btn-whatsapp {
    width: 100%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 16px;
    transition: all 0.3s;
}

.espectro-btn-whatsapp:hover {
    background: #1ebe57;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.espectro-btn-whatsapp .btn-icon {
    fill: white;
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: white;
    flex-shrink: 0;
}

/* Product Tabs */
.espectro-product-tabs {
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.espectro-tab-navigation {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.espectro-tab-button {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.espectro-tab-button.active {
    background: #ffffff;
    color: #2493d1;
    border-color: #d1d5db;
}

.espectro-tab-content {
    border: 1px solid #e5e7eb;
    border-radius: 0 8px 8px 8px;
    padding: 24px;
    background: #ffffff;
}

.espectro-tab-panel {
    display: none;
}

.espectro-tab-panel.active {
    display: block;
}

/* Product Description Section */
.espectro-product-description-section {
    margin-top: 60px;
}

.espectro-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2493d1;
}

.espectro-product-description {
    line-height: 1.8;
    color: #374151;
}

.espectro-product-description h2,
.espectro-product-description h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.espectro-product-description h2 {
    font-size: 28px;
}

.espectro-product-description h3 {
    font-size: 22px;
}

.espectro-product-description p {
    margin-bottom: 15px;
}

.espectro-product-description ul,
.espectro-product-description ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.espectro-product-description li {
    margin-bottom: 8px;
}

.espectro-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.espectro-project-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.espectro-project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Most Viewed */
.espectro-most-viewed {
    margin-top: 60px;
    width: 100%;
    background: #ffffff;
    padding: 30px 0 50px;
    clear: both;
    float: none;
    flex: 0 0 100%;
    max-width: 100%;
}

.espectro-most-viewed .espectro-section-title {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.espectro-most-viewed-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.espectro-carousel {
    position: relative;
}

.espectro-carousel-viewport {
    overflow: hidden;
    padding: 8px 4px;
}

.espectro-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.espectro-carousel .espectro-product-card {
    flex: 0 0 240px;
}

.espectro-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 5;
    padding: 0;
}

.espectro-carousel-btn:hover {
    border-color: #b3d9f2;
    color: #2493d1;
}

.espectro-carousel-prev {
    left: -14px;
}

.espectro-carousel-next {
    right: -14px;
}

.espectro-carousel-icon {
    font-size: 20px;
    line-height: 1;
}

/* ====================
   Responsive Styles
   ==================== */

@media (max-width: 1200px) {
    .espectro-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .espectro-carousel .espectro-product-card {
        flex-basis: 220px;
    }
}

@media (max-width: 992px) {
    .espectro-archive-layout {
        flex-direction: column;
    }

    .espectro-sidebar {
        flex: 1;
        position: static;
    }

    .espectro-product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .espectro-product-gallery {
        position: static;
    }

    .espectro-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .espectro-carousel-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .espectro-products-grid {
        grid-template-columns: 1fr;
    }

    .espectro-single-product {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 15px;
        box-sizing: border-box;
    }

    .espectro-product-main {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .espectro-action-buttons {
        flex-direction: column;
    }

    .espectro-action-buttons .espectro-btn,
    .espectro-whatsapp-button .espectro-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .espectro-thumbnail-carousel {
        gap: 6px;
        padding: 0 28px;
    }

    .espectro-thumbnail-viewport {
        margin: 0;
    }

    .espectro-thumb-btn {
        width: 28px;
        height: 28px;
    }

    .espectro-thumb-btn {
        display: flex;
    }

    .espectro-tab-navigation {
        flex-wrap: wrap;
    }

    .espectro-tab-button {
        flex: 1;
        min-width: 120px;
    }

    .espectro-projects-grid {
        grid-template-columns: 1fr;
    }

    .espectro-carousel-track {
        gap: 16px;
    }

    .espectro-product-summary .espectro-product-title {
        font-size: 22px;
    }

    .espectro-main-image {
        display: block;
    }

    .espectro-featured-image {
        width: 100%;
        height: auto;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .espectro-archive-title {
        font-size: 24px;
    }

    .espectro-product-buttons {
        flex-direction: column;
    }

    .espectro-thumbnail-gallery {
        flex-wrap: nowrap;
    }

    .espectro-single-product {
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .espectro-breadcrumb {
        padding: 10px 12px;
        margin-bottom: 12px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .espectro-product-main {
        gap: 15px;
        max-width: 100%;
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
        margin-bottom: 20px;
    }

    .espectro-product-gallery {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .espectro-main-image {
        width: 100%;
        border-radius: 6px;
        box-sizing: border-box;
        display: block;
    }

    .espectro-featured-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover !important;
    }

    .espectro-product-summary {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .espectro-product-summary .espectro-product-title {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .espectro-product-summary .espectro-product-short-description {
        font-size: 12px;
        padding: 8px 10px;
        margin: 6px 0 10px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .espectro-product-specs {
        padding: 8px 10px;
        font-size: 11px;
        margin-bottom: 10px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .espectro-spec-item {
        padding: 6px 0;
    }

    .spec-label,
    .spec-value {
        font-size: 11px;
    }

    .espectro-view-count {
        font-size: 10px;
        padding: 8px 10px;
        margin-bottom: 10px;
    }

    .view-icon {
        font-size: 14px;
    }

    .espectro-action-buttons {
        gap: 10px;
        margin-bottom: 8px;
    }

    .espectro-action-buttons .espectro-btn,
    .espectro-whatsapp-button .espectro-btn {
        padding: 11px 16px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }

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

    .espectro-thumbnail-carousel {
        padding: 0;
        gap: 0;
        overflow: visible;
    }

    .espectro-thumbnail-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .espectro-thumbnail-viewport::-webkit-scrollbar {
        display: none;
    }

    .espectro-thumbnail {
        flex: 0 0 65px;
        height: 65px;
    }

    .espectro-thumbnail-gallery {
        gap: 8px;
        padding: 5px 2px;
    }

    .espectro-thumb-btn {
        display: none !important;
    }

    .espectro-product-tabs {
        width: 100%;
        max-width: 100%;
        margin-top: 25px;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .espectro-tab-navigation {
        gap: 6px;
    }

    .espectro-tab-button {
        padding: 8px 14px;
        font-size: 13px;
    }

    .espectro-tab-content {
        padding: 12px;
    }

    .espectro-product-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .espectro-most-viewed {
        padding: 20px 12px 30px;
        margin-top: 30px;
        box-sizing: border-box;
    }

    .espectro-most-viewed-inner {
        padding: 0;
        box-sizing: border-box;
    }
}

/* ====================
   Modal Styles
   ==================== */

.espectro-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.espectro-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.espectro-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.espectro-modal-header h2 {
    color: #2493d1;
    font-size: 28px;
    margin: 0 0 10px 0;
}

.espectro-modal-header p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.espectro-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.espectro-modal-close:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.espectro-price-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.espectro-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.espectro-form-group {
    display: flex;
    flex-direction: column;
}

.espectro-form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
}

.espectro-form-group input,
.espectro-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s;
    font-family: inherit;
}

.espectro-form-group input:focus,
.espectro-form-group textarea:focus {
    outline: none;
    border-color: #2493d1;
    box-shadow: 0 0 0 3px rgba(36, 147, 209, 0.1);
}

.espectro-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.espectro-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.espectro-form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.espectro-form-checkbox label {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    cursor: pointer;
}

.espectro-form-checkbox label a {
    color: #2493d1;
    text-decoration: none;
}

.espectro-form-checkbox label a:hover {
    text-decoration: underline;
}

.espectro-form-submit {
    background: #2493d1;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.espectro-form-submit:hover {
    background: #1d7ab5;
}

.espectro-form-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.espectro-form-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.espectro-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.espectro-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

@media (max-width: 768px) {
    .espectro-modal-content {
        padding: 30px 20px;
    }

    .espectro-form-row {
        grid-template-columns: 1fr;
    }

    .espectro-modal-header h2 {
        font-size: 24px;
    }
}
