* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    font-family: "Ubuntu", sans-serif;
    color: #222;
    background: #e8e8e8;
}

.sidebar {
    position: fixed;
    width: 300px;
    height: 100vh;

    padding: 60px 40px;

    background: #2d2d2d;
    color: white;

    border-right: 1px solid #444;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    width: 170px;
    height: 170px;

    border-radius: 50%;
    object-fit: cover;

    margin-bottom: 25px;
}

.sidebar h1 {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
}

.subtitle {
    margin-top: 10px;
    margin-bottom: 35px;

    color: #666;
    text-align: center;
}

.donare_please {
    margin-top: 10px;
    margin-bottom: 35px;

    color: #eeeeee;
    text-align: center;
}

.contacts {
    width: 100%;
}

.contacts a {
    display: block;

    margin: 12px 0;

    color: #878787;;
    text-decoration: none;
}

.contacts a:hover {
    text-decoration: underline;
}

main {
    margin-left: 300px;
    padding: 70px;
    max-width: 900px;

    background: #e8e8e8;
    min-height: 100vh;
}

section {
    margin-bottom: 70px;
}

section h2 {

    font-size: 2rem;
    font-weight: normal;

    margin-bottom: 20px;

    border-bottom: 1px solid #ddd;

    padding-bottom: 8px;
}

section h3 {
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: #555;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 15px;
}

a {
    color: #0055aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}



@media (max-width: 700px) {

    body {
        display: block;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;

        border-right: none;
        border-bottom: 1px solid #e0e0e0;

        padding: 40px 20px;
    }
    
    .mobile-hidden {
        display: none;
    }

    main {
        margin-left: 0;
        padding: 40px 20px;
    }

}

.farmaco-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.farmaco-card h2 {
    margin-top: 0;
}

.info-row {
    margin: 8px 0;
}

.caratteristiche {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.caratteristica {
    flex: 1;
    text-align: center;
}

.caratteristica-titolo {
    font-weight: bold;
    margin-bottom: 8px;
}

.stato {
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
}

.stato-si {
    background-color: #b7e4c7;
}

.stato-no {
    background-color: #ffb3b3;
}

.stato-altro {
    background-color: #ffe69c;
}

.disclaimer {
    margin-top: 25px;
    margin-bottom: 35px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.disclaimer p {
    margin-bottom: 12px;
}

.disclaimer strong {
    font-weight: 700;
}

.search-form {
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    gap: 12px;
    align-items: center;
}


.search-form input {
    flex: 1;
    max-width: 600px;
    padding: 16px 20px;
    font-size: 1.15rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    height: 55px;
    box-sizing: border-box;
}


.search-form button {
    padding: 0 25px;
    height: 55px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 700px) {

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }


    .search-form input {
        max-width: none;
        width: 100%;
    }


    .search-form button {
        width: 100%;
    }

}