/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-open {
    overflow: hidden;
}

.modal-content {
    background-color: #fff;
    margin: 20px;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalAppear 0.3s;
}

@keyframes modalAppear {
    from {transform: translateY(30px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: 600;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #081158;
}

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

.modal-logo {
    width: 40px;
    height: 40px;
    margin: 0px;
    margin-right: 15px;
    padding: 0px;
    border-radius: 8px;
}

.modal-header h2 {
    font-family: 'Montserrat', sans-serif;
    color: #081158;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.modal-description {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0px;
    padding: 0px;
}

.qr-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 0;
}

.download-buttons {
    text-align: center;
    margin-top: 20px;
}

.download-buttons p {
    margin-top: 0;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-button {
    display: inline-block;
    transition: transform 0.2s;
}

.app-button:hover {
    transform: translateY(-3px);
}

.app-badge {
    height: 40px;
    padding: 0px;
    margin: 0px;
}

@media (max-width: 480px) {
    .download-options {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
}