﻿/* Modal de Instalação */
.install-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    max-width: 500px;
    margin: 0 auto;
}

    .install-modal.show {
        transform: translateY(0);
    }

.modal-content {
    padding: 25px;
    text-align: center;
}

/* Base para qualquer ícone */
.icon-img {
    object-fit: contain; /* mantém proporção sem distorcer */
    display: inline-block;
    background-color: transparent; /* mantém fundo limpo */
}

/* Ícones redondos (opcional) */
.icon-round {
    border-radius: 50%;
    background-color: #f0f0f0; /* pode trocar a cor de fundo */
}

/* Tamanhos padrão PWA */
.icon-48 {
    width: 18px;
    height: 18px;
}



.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

    .close-modal:hover {
        color: #333;
    }

.modal-icon {
    font-size: 3rem;
    color: #daa520;
    margin-bottom: 15px;
}

.modal-text {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: left;
}

.install-btn {
    background: linear-gradient(135deg, #daa520, #ffaa00);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
}

    .install-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
    }

    .install-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .install-btn i {
        margin-right: 10px;
        font-size: 1.2rem;
    }

.ios-instructions {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
    border-left: 4px solid #daa520;
}

.ios-steps {
    margin: 10px 0;
    padding-left: 20px;
}

    .ios-steps li {
        margin-bottom: 8px;
        color: #555;
    }

    .ios-steps b {
        color: #333;
    }

.dont-show {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #999;
    cursor: pointer;
    margin-top: 15px;
}

    .dont-show input {
        margin-right: 8px;
    }

/* Overlay do modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }
