html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* ========== HOMEPAGE HERO ========== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
}

/* ========== CAROSELLO LAYOUT ========== */
.carousel-item {
    padding: 40px 20px;
    min-height: 500px;
}

.layout-preview-card {
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.layout-preview-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.features .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* ========== MOCKUP LAYOUTS ========== */
.layout-mockup {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    height: 400px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

/* ========== MODERNO MOCKUP ========== */
.moderno-mockup {
    display: flex;
    gap: 12px;
}

.mockup-sidebar {
    width: 90px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 5px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mockup-photo {
    width: 50px;
    height: 50px;
    background: #dbeafe;
    border-radius: 50%;
    border: 2px solid white;
}

.mockup-name {
    color: white;
    font-size: 9px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

.mockup-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.4);
    margin: 5px 0;
}

.mockup-section-title {
    color: white;
    font-size: 7px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.mockup-section-title.main {
    color: #2563eb;
    text-align: left;
    font-size: 9px;
    margin-bottom: 5px;
}

.mockup-text-line {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    margin: 3px 0;
}

.mockup-text-line.short {
    width: 70%;
}

.mockup-text-line.medium {
    width: 80%;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-header {
    padding: 10px;
    background: #f0f4f8;
    border-radius: 5px;
}

.mockup-title {
    font-size: 8px;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 5px;
}

.mockup-header .mockup-text-line {
    background: #cbd5e1;
}

.mockup-section {
    padding: 10px;
    background: #f9fafb;
    border-radius: 5px;
    border-left: 3px solid #2563eb;
}

.mockup-text-block {
    height: 25px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 5px 0;
}

/* ========== CLASSICO MOCKUP ========== */
.classico-mockup {
    padding: 20px;
    background: #fafafa;
}

.mockup-header-center {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 5px;
    margin-bottom: 15px;
}

.mockup-photo.centered {
    margin: 0 auto 8px;
    background: white;
    border: 2px solid #1f2937;
}

.mockup-name.centered {
    color: white;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 5px;
}

.mockup-text-line.centered {
    margin: 0 auto;
    background: rgba(255,255,255,0.5);
}

.mockup-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: white;
    padding: 10px;
    border-left: 4px solid #374151;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timeline-date {
    font-size: 8px;
    font-weight: bold;
    color: #374151;
    min-width: 50px;
}

.timeline-content {
    flex: 1;
}

.timeline-content .mockup-text-line {
    background: #e5e7eb;
}

/* ========== MINIMALISTA MOCKUP ========== */
.minimal-mockup {
    padding: 25px;
    background: #ffffff;
}

.mockup-header-minimal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.mockup-photo.small {
    width: 35px;
    height: 35px;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
}

.mockup-name-block {
    flex: 1;
}

.mockup-name.light {
    font-size: 11px;
    font-weight: 300;
    color: #1f2937;
    margin-bottom: 3px;
}

.mockup-name-block .mockup-text-line {
    background: #cbd5e1;
}

.mockup-section-minimal {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.mockup-section-title.minimal {
    font-size: 8px;
    font-weight: 300;
    color: #6b7280;
    margin-bottom: 8px;
}

.mockup-text-block.minimal {
    height: 20px;
    background: #f9fafb;
    border-radius: 2px;
    border-left: 2px solid #e5e7eb;
    padding-left: 5px;
}

/* ========== FEATURE BOXES ========== */
.feature-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

/* ========== CAROUSEL CONTROLS ========== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* Layout selection cards */
.layout-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.layout-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.layout-option.border-primary {
    border-color: #0d6efd !important;
    box-shadow: 0 0 10px rgba(13,110,253,0.3);
}

.layout-preview {
    transition: all 0.3s ease;
}

/* ========== MY CVS PAGE ========== */
.d-flex.flex-wrap.gap-2 {
    gap: 0.5rem !important;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.card .btn {
    white-space: nowrap;
}

.modal-content {
    border-radius: 10px;
}
