/* Temple Bar Prescription App Styles */

/* Widget Styles */
.tbp-prescription-widget {
    background: #f8f9fa;
    border: 2px solid #443770;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.tbp-prescription-widget h3 {
    color: #443770;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.tbp-prescription-widget p {
    margin: 10px 0;
    color: #555;
}

.tbp-prescription-widget .app-buttons {
    margin: 20px 0;
}

.tbp-prescription-widget .app-button {
    background: #443770;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background 0.3s;
}

.tbp-prescription-widget .app-button:hover {
    background: #352c59;
    color: white;
}

.tbp-prescription-widget .app-code {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.tbp-prescription-widget .app-code strong {
    color: #443770;
    font-size: 16px;
}

/* App Page Styles */
.tbp-prescription-app-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.app-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #443770 0%, #352c59 100%);
    color: white;
    border-radius: 10px;
}

.app-hero h1 {
    margin: 0 0 15px 0;
    font-size: 2.5em;
    color: white;
}

.app-hero .lead {
    font-size: 1.2em;
    margin: 0;
    opacity: 0.95;
}

.app-benefits {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.app-benefits h2 {
    color: #443770;
    margin-bottom: 20px;
}

.app-benefits ul {
    list-style: none;
    padding: 0;
}

.app-benefits li {
    padding: 10px 0;
    font-size: 1.1em;
    color: #555;
}

.app-download {
    text-align: center;
    margin-bottom: 40px;
}

.app-download h2 {
    color: #443770;
    margin-bottom: 10px;
}

.app-store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.app-store-badge img {
    display: block;
    height: auto;
}

.app-instructions {
    background: #fff;
    border: 2px solid #443770;
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
}

.app-instructions h3 {
    color: #443770;
    margin-bottom: 20px;
}

.app-instructions ol {
    text-align: left;
    color: #555;
    font-size: 1.05em;
    line-height: 1.8;
}

.app-instructions strong {
    color: #443770;
    font-size: 1.1em;
}

.app-faq {
    margin-bottom: 40px;
}

.app-faq h2 {
    color: #443770;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: white;
    border-left: 4px solid #443770;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: #443770;
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.app-contact {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.app-contact h2 {
    color: #443770;
    margin-bottom: 15px;
}

.app-contact p {
    color: #555;
    line-height: 1.8;
}

.app-contact a {
    color: #443770;
    text-decoration: none;
}

.app-contact a:hover {
    text-decoration: underline;
}

/* Navigation Menu Item */
.menu-item-prescription-app a {
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-hero h1 {
        font-size: 1.8em;
    }

    .app-hero .lead {
        font-size: 1em;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-badge img {
        width: 160px;
        height: auto;
    }

    .tbp-prescription-app-page {
        padding: 10px;
    }

    .app-benefits, .app-instructions, .app-contact {
        padding: 20px;
    }
}