

#openModal {
    padding: 10px 20px;
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.subscribeModal {
    background-color: white;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: visible; 
    overflow-y: auto;
    position: fixed; 
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000; 
    display: none; 
}

.modal-content {

    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: white;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.submit-btn-subscribe{
    background-color: rgba(255, 255, 255, 0.9);
    margin: 2px auto 0 auto;
    color: #002c49;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 18px;
    width: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: 2px solid #002c49;
}

.submit-btn-subscribe:hover {
    background-color: #f86d08;
    color: white;
    transform: translateY(-2px);
    border: 2px solid #f86d08;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #777;
}

.logo-container-subscribe {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}


.loading-spinner {
    display: none;
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
   z-index: 9999; 
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #f86d08; 
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  

.subscribeModal .modal-content.blur {
    filter: blur(2px); 
    pointer-events: none; 
}

  
.logo {
    width: 80px;
    height: 80px;
    background-color: #2c3e50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbulb-icon {
    width: 50px;
    height: 50px;
    background-color: #ff5252;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbulb-icon svg {
    width: 30px;
    height: 30px;
    color: black;
}

.h3-subscribe {
    font-size: 20px;
    margin-bottom: 15px;
    color: #444;
}

body.modal-open {
    overflow: hidden; 
}

body.modal-open .container {
    pointer-events: none; 
}

.subscribeModal {
    pointer-events: auto; 
}


.p-subscribe {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}


.form-container {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 10px;
}


form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #999;
}



@media (max-width: 600px) {
    .modal-content {
        padding: 20px;
    }
    
    .form-container {
        padding: 15px;
    }
}