/* Modal "Aviso Importante Machu Picchu" */

.avm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.avm-overlay.avm-hidden {
    display: none;
}

.avm-container {
    background-color: #fff;
    width: 100%;
    max-width: 600px;
    height:500px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    animation: avmFadeIn 0.3s ease-out;
}

@keyframes avmFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.avm-content {
    flex: 1;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
}

.avm-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.avm-camera-icon {
    width: 50px;
    height: 40px;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*
.avm-camera-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: #d32f2f;
    border-radius: 4px 4px 0 0;
}

.avm-camera-icon::after {
    content: '';
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
}*/

.avm-lens-dot {
    width: 8px;
    height: 8px;
    background: #d32f2f;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

.avm-flash {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 5px;
    height: 5px;
    background: #e57373;
    border-radius: 50%;
}

.avm-title {
    color: #d32f2f;
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 2px;
}

.avm-subtitle {
    color: #d32f2f;
    text-align: center;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 20px;
}

.avm-body-text p {
    color: #555;
    line-height: 1.5;
    font-size: 10px;
    margin-bottom: 15px;
    text-align: justify;
}

.avm-body-text a {
    color: #d32f2f;
    text-decoration: none;
    word-break: break-all;
}

.avm-body-text a:hover {
    text-decoration: underline;
}

.avm-footer {
    margin-top: 20px;
    color: #555;
}

.avm-footer p {
    font-weight: 400;
    font-size: 10px;
    margin-bottom: 2px;
}

.avm-footer span {
    font-weight: bold;
    display: block;
    font-size: 10px;
}

.avm-image {
    flex: 0 0 40%;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    position: relative;
}

.avm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #333;
    font-weight: bold;
    font-size: 12px;
    border: none;
    z-index: 10;
}

.avm-close:hover {
    background-color: #f1f1f1;
}

@media (max-width: 600px) {
    .avm-container {
        flex-direction: column-reverse;
        max-width: 100%;
    }

    .avm-image {
        flex: 0 0 160px;
        width: 100%;
    }

    .avm-content {
        padding: 25px 20px;
    }

    .avm-title {
        font-size: 20px;
    }

    .avm-subtitle {
        font-size: 14px;
    }

    .avm-close {
        top: 10px;
        right: 10px;
    }
}
