
/* Join Page Specific Styles */

.bs-tooltip-right {
    top: 15px !important;
    left: 5px !important;
}

.bs-tooltip-right .tooltip-inner {
    max-width: 300px;
}

.bs-tooltip-right .arrow {
    top: 10px !important;
}

.hero-landing {
    background: rgba(83, 123, 131, 0.08);
    padding: 80px 0;
    color: #333;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1280px;
}

.hero-pretitle {
    font-size: 16px;
    color: #537B83;
    margin-bottom: 20px;
    font-weight: 500;
    background: rgba(83, 123, 131, 0.1);
    padding: 10px 16px;
    border-radius: 25px;
    display: inline-block;
}

.hero-pretitle i {
    margin-right: 8px;
}

.hero-landing h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #333;
    text-align: left;
}

.hero-landing .lead {
    font-size: 18px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
    text-align: left;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn {
    cursor: pointer;
}

.btn-hero-primary {
    background: #2c3e50;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #34495e;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-hero-secondary {
    background: white;
    color: #4285f4;
    padding: 15px 25px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: #f8f9fa;
    color: #4285f4;
    text-decoration: none;
    border-color: #4285f4;
}

.btn-hero-secondary i {
    margin-right: 8px;
    color: #4285f4;
}

.dashboard-mockup {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 25px;
    margin-top: 20px;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
    transform: rotate(0deg);
}

.dashboard-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-icon {
    width: 40px;
    height: 40px;
    background: #4285f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.dashboard-icon i {
    color: white;
    font-size: 18px;
}

.dashboard-title {
    flex: 1;
}

.dashboard-title h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.dashboard-title p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 85%;
    border-radius: 4px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.stat-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-increase {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-increase.green {
    color: #28a745;
}

.stat-increase.blue {
    color: #4285f4;
}

.stat-card p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.progress-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 20px 0 5px 0;
}

.progress-info {
    text-align: right;
}

.progress-info .progress-label {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.progress-info .progress-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: #537B83;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 30px;
    margin-top: 60px;
    align-items: start;
}

.feature-item {
    text-align: center;
    position: relative;
}

.feature-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #4285f4;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #537B83;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
}

.feature-icon.blue {
    background: #4285f4;
}

.feature-icon.green {
    background: #28a745;
}

.feature-icon.purple {
    background: #8b5cf6;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.feature-arrow i {
    font-size: 24px;
    color: #ccc;
}

.pricing-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.pricing-header {
    background: #f8f9fa;
    padding: 0;
    margin: 0;
}

.pricing-header th {
    padding: 25px 20px;
    font-weight: 600;
    text-align: center;
    border: none;
    vertical-align: middle;
}

.pricing-header .plan-name {
    font-size: 18px;
    color: #333;
}

.pricing-header .plan-price {
    font-size: 32px;
    font-weight: 900;
    color: #537B83;
    display: block;
    margin-top: 10px;
}

.pricing-header .plan-period {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    border: none;
}

.pricing-table .feature-name {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.check-icon {
    color: #28a745;
    font-size: 20px;
}

.cross-icon {
    color: #dc3545;
    font-size: 20px;
}

.premium-features {
    margin-top: 60px;
}

.premium-card {
    background: linear-gradient(135deg, #537B83 0%, #4a6e75 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.premium-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.premium-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.premium-feature-icon {
    width: 40px;
    height: 40px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    flex-shrink: 0;
}

.price-selected {
    border-radius: 15px !important;
    border-width: 2px !important;
    transform: scale(1.1);
    z-index: 10;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
}

.testimonial-company {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.cta-section {
    background: #537b83;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    margin: 40px auto 0;
    text-align: left;
}

.cta-form h3 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.form-row-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-custom-full {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    height: 50px;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control-textarea {
    height: auto !important;
}

.form-control:focus {
    border-color: #537B83;
    box-shadow: 0 0 0 0.2rem rgba(83, 123, 131, 0.25);
}

/* Select specific styling */
select.form-control {
    height: 50px !important;
    line-height: 1.5;
    padding: 12px 40px 12px 15px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
}

/* Input specific styling to ensure consistency */
input.form-control {
    height: 50px !important;
    line-height: 1.5;
}

.btn-cta {
    background: linear-gradient(135deg, #537B83 0%, #4a6e75 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(83, 123, 131, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-landing {
        padding: 60px 0;
        min-height: auto;
        text-align: center;
    }

    .hero-landing h1 {
        font-size: 36px;
        text-align: center;
    }

    .hero-landing .lead {
        font-size: 16px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .dashboard-mockup {
        margin-top: 40px;
        transform: none;
    }

    .hero-stats {
        flex-direction: row;
        gap: 30px;
        margin-top: 40px;
        align-items: stretch;
    }

    .hero-stats > * {
        flex: 1;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-arrow {
        display: none;
    }

    .premium-features-grid {
        grid-template-columns: 1fr;
    }

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

    .section-title h2 {
        font-size: 28px;
    }

    .cta-form {
        padding: 30px 20px;
        width: 95%;
    }

    .price-selected {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-landing h1 {
        font-size: 32px;
    }

    .hero-landing .lead {
        font-size: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Table Custom Styles */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fafc;
}

.pricing-table-feature {
    font-weight: 600;
}

.premium-column {
    background-color: #e9f0fc !important;
}

/* Upload Area Styles */
.upload-area {
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #537B83;
    background: #f0f7f8;
}

.upload-area.dragover {
    border-color: #537B83;
    background: #e8f4f6;
}

.upload-content {
    pointer-events: none;
}

.file-preview {
    padding: 20px;
}

.upload-area.has-file {
    border-color: #28a745;
    background: #f8fff8;
}

.upload-area.has-file:hover {
    border-color: #28a745;
    background: #f8fff8;
}

#removeFile {
    cursor: pointer;
}

.upload-text {
    font-weight: 600;
    color: #666;
}

.file-selected {
    border-color: #28a745;
    background: #f8fff8;
}

.file-selected .upload-text {
    color: #28a745;
}

/* Form validation error styles using Bootstrap classes */
.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
}

.is-valid {
    border-color: #28a745 !important;
    background-image: none !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

#premium-price {
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}

.table-responsive {
    overflow-x: auto;      /* tieni lo scroll orizzontale */
    overflow-y: visible !important;  /* fai vedere la crescita in alto e in basso */
}