 * {
     box-sizing: border-box;
 }
 

 
 .modal-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100vw;
     height: 100vh;
     background: rgba(0, 0, 0, 0.6);
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.5s ease;
     z-index: 1000;
     padding: 20px;
 }
 
 .modal-overlay.active {
     opacity: 1;
     pointer-events: auto;
 }
 
 .modal-box {
     position: relative;
     border-radius: 12px;
     padding: 40px 30px;
     width: 90%;
     height: 40%;
     max-width: 600px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
     text-align: center;
     overflow: hidden;
     animation: slideFadeIn 0.6s ease-out forwards;
 }
 
 .modal-box::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-image: url('../images/banner/banner.jpg');
     background-size: cover;
     background-position: center center;
     background-repeat: no-repeat;
     z-index: -1;
 }
 
 @keyframes slideFadeIn {
     0% {
         opacity: 0;
         transform: translateY(-30px);
     }
     100% {
         opacity: 1;
         transform: translateY(0);
     }
 }
 
 .modal-title {
     font-size: 28px;
     font-weight: bold;
     margin-bottom: 15px;
     color: #222;
 }
 
 .modal-message {
     font-size: 18px;
     color: #333;
     margin-bottom: 25px;
 }
 
 .close-btn {
     position: absolute;
     top: 15px;
     right: 20px;
     background: none;
     border: none;
     font-size: 28px;
     color: #ffffff;
     cursor: pointer;
     transition: color 0.3s;
 }
 
 .close-btn:hover {
     color: #e74c3c;
 }
 .register-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #E61B72;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;

    width: 100%;
    height: 50px;
    max-width: 100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.register-btn:hover {
    background-color: #941B80;
}

/* Tablets */
@media (max-width: 768px) {
    .register-btn {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .register-btn {
        font-size: 15px;
        padding: 12px;
        width: 100%;
    }
}

/* Pantallas grandes (laptops grandes, monitores 1080p o más) */
@media (min-width: 1024px) {
    .register-btn {
        font-size: 18px;
        padding: 16px 32px;
        max-width: 200px;
    }
}

/* Ultra pantallas (4K, etc.) */
@media (min-width: 1920px) {
    .register-btn {
        font-size: 20px;
        padding: 10px 36px;
        max-width: 180px;
    }

     .modal-box {
     position: relative;
     border-radius: 12px;
     padding: 30px 30px;
     width: 90%;
     height: 30%;
     max-width: 600px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
     text-align: center;
     overflow: hidden;
     animation: slideFadeIn 0.6s ease-out forwards;
 }
 
}
