﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

#shady_logo {
    background-image: url('/Content/images/sfondo_header.jpg');
    background-size: contain;
    max-width:1050px;
    margin: 0 auto;
    padding:20px 0;
    background-color:#f9f9f9;
}

    #shady_logo img {
        height: 70px;
        margin-left:40px;
    }


.f_left {
    float: left;
}

.f_right {
    float: right;
}

.m_right10 {
    margin-right: 10px;
}

a.text_small2 {
    text-decoration: none;
}



.hero-wrapper {
    display: flex;
    min-height: 80vh;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
}

#footer {
    height: 189px;
    background-color: #000;
    color: #fff;
    width: 100%;
    overflow: hidden;
}

    #footer a {
        color: #fff;
        text-decoration: none;
    }

#ad_copiright {
    margin-top: 80px;
    float: left;
    margin-left: 50px;
}

#policies {
    float: right;
    margin-right: 50px;
    margin-top: 80px;
}

    #policies a {
        margin-left: 30px;
    }

/* Sezione Contenuto Testuale */
.content-side {
    flex: 1;
    max-width: 500px;
}

.app-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

.intro-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Sezione Visuale/Immagine */
.visual-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image {
    max-width: 100%;
    /*border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;*/
    /*object-fit: cover;*/
}

/*.feature-image:hover {
        transform: scale(1.02);
    }*/

/* CTA Button Generica */
.action-button {
    display: inline-block;
    background-color: #F0B400;
    color: #333;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .action-button:hover {
        background-color: #d9a300;
        color: #000;
        text-decoration: none;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

    .app-logo {
        margin: 0 auto 2rem auto;
    }
}


/* Wrapper Generale */
.registration-wrapper {
    background-color: #f9f9f9;
    padding: 40px 0;
    min-height: calc(100vh - 80px); /* Adjust per altezza header */
}


/* Header Form */
.form-header {
    margin-bottom: 30px;
    text-align: center;
}

    .form-header h2 {
        font-weight: 300;
        color: #333;
        margin-bottom: 10px;
    }

    .form-header p {
        color: #666;
    }

/* Card Style per il Form */
.b2b-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

/* Sezioni */
.form-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

    .form-section:last-of-type {
        border-bottom: none;
    }

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F0B400; /* Giallo Logo */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Input Styles */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-weight: 500;
        color: #444;
        margin-bottom: 5px;
        display: block;
    }

.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box; /* Fix per padding */
    transition: border-color 0.3s;
}

    .form-control:focus {
        border-color: #F0B400;
        outline: none;
        box-shadow: 0 0 0 3px rgba(240, 180, 0, 0.1);
    }

.input-error {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
}

/* Button */
.form-actions {
    text-align: right;
    margin-top: 30px;
}

.btn-submit {
    background-color: #333; /* Grigio scuro Logo */
    color: #fff;
    padding: 12px 40px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-disabled {
    background-color: #aaa; /* Grigio scuro Logo */
    color: #ccc;
    cursor: auto;
    padding: 12px 40px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    transition: background 0.2s;
}



.btn-submit:hover {
    background-color: #000;
}


/* Grid Layout */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px; /* Spazio per la sticky bar */
}

.feature-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    width: 250px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

    /* Stato: Hover */
    .feature-card:not(.locked-active):hover {
        border-color: #F0B400; /* Giallo brand */
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Stato: Selezionato */
    .feature-card.selected, .feature-card.locked-active {
        border-color: #333;
        background-color: #fff;
        box-shadow: 0 0 0 1px #333;
    }

    .feature-card.locked-active {
        cursor: default;
        background-color: #f9f9f9;
    }

/* Icona */
.card-icon {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 15px;
    text-align: center;
    transition: color 0.2s;
}

.feature-card.selected .card-icon,
.feature-card.locked-active .card-icon {
    color: #F0B400;
}

/* Testo */
.card-body h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
}

.card-body p {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
    flex-grow: 1;
}

/* Footer Card */
.card-footer {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.price-tag {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

    .price-tag.free {
        color: #28a745;
    }

/* Checkbox Style */
.card-check {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Sticky Bottom Bar */
.order-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.total-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
}

.btn-cta-order {
    background-color: #F0B400;
    color: #000;
    font-weight: bold;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

    .btn-cta-order:hover {
        background-color: #d9a300;
    }


/* --- STILI VALIDAZIONE ERRORI --- */

/* 1. Il testo dell'errore (generato da ValidationMessageFor) */
.field-validation-error, .text-danger {
    color: #dc3545 !important; /* Rosso standard errore */
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

/* 2. Il bordo dell'input quando c'è errore (generato da MVC automaticamente) */
.input-validation-error {
    border: 1px solid #dc3545 !important;
    background-color: #fff8f8; /* Sfondo leggermente rosato */
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1); /* Alone rosso */
}

/* 3. Il box riassuntivo in alto (ValidationSummary) */
.validation-summary-errors {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

    .validation-summary-errors ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

.slim_button3 {
    width: 120px;
    background-color: #d3d3d3;
    padding: 9px 5px;
    cursor: pointer;
    color: #1D98D4;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* PAGINAZIONE < */


[class*="page_btn"] {
    text-align: center;
    padding: 5px 7px 5px 7px;
    border: 1px #acacac solid;
    cursor: pointer;
    background: -webkit-linear-gradient(#efefef, #ccc); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#efefef, #ccc); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#efefef, #ccc); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#efefef, #ccc); /* Standard syntax */
}

    [class*="page_btn"]:hover {
        border-color: #7eb4ea;
        background: -webkit-linear-gradient(#ecf4fc, #dcecfc); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(#ecf4fc, #dcecfc); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(#ecf4fc, #dcecfc); /* For Firefox 3.6 to 15 */
        background: linear-gradient(#ecf4fc, #dcecfc); /* Standard syntax */
    }

    [class*="page_btn"]:active {
        border-color: #569de5;
        background: -webkit-linear-gradient(#daecfc, #c4e0fc); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(#daecfc, #c4e0fc); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(#daecfc, #c4e0fc); /* For Firefox 3.6 to 15 */
        background: linear-gradient(#daecfc, #c4e0fc); /* Standard syntax */
    }

.page_btn_first, .page_btn_prev, .page_btn_next, .page_btn_last {
    display: inline-block;
    margin: 0 5px 0 5px;
}

div.nextButton, div.prevButton, div.lastButton, div.firstButton {
    float: left;
    padding: 0px 5px 2px 5px;
    cursor: pointer;
    margin: 0 5px 0 5px;
    border: 1px #acacac solid;
    /*background-color:#216393;*/
    color: #444;
}

div.page_controls {
    float: left;
    height: 10px;
    padding: 5px 0px 10px 0px;
    margin: 0 5px 0 5px;
}

#current_page {
    margin: -3px 6px 0 8px;
}

.nextButton {
    margin-left: 0px;
    margin-right: 5px;
}

.lastButton {
    margin-left: 5px;
    margin-right: 10px;
}

.firstButton {
    margin-left: 0px;
    margin-right: 5px;
}

.prevButton {
    margin-left: 5px;
    margin-right: 0px;
}

/* > */
