/* Subscribe.css */

  
.subscribe-container {
    padding: 20px; 
    max-width: 400px; 
    margin: 70px auto; /* Adjust margin to avoid overlapping with App-header */
    background:rgb(208, 205, 211);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(255, 155, 155, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.subscribe-container h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem; 
    font-weight: bold;
    margin: 20px 0; /* Consistent margins */
    color: #2c0727;
}

.plan-details {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.plan-name {
    font-size: 1.4rem; 
    color: #6c2a7c;
}

.plan-price {
    font-size: 1.2rem; 
    color: #333;
}

.price-value {
    font-weight: bold;
}

.discount {
    color: #f44336; 
}

.billing-type {
    color: #777;
}

.features-title {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1rem; 
    color: #6c2a7c;
}

.features-list {
    list-style-type: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.tick, .cross {
    margin-right: 10px;
    font-size: 1.2rem;
}

.tick {
    color: #4CAF50; 
}

.cross {
    color: #f44336; 
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.subscribe-input {
    width: 100%;
    padding: 14px 20px; 
    border: none; 
    font-size: 1rem; 
    font-family: 'Roboto', sans-serif;
    border-radius: 50px; 
    outline: none; 
    background-color: #ffffff; 
    color: #333;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); 
    box-sizing: border-box; 
}

.subscribe-input::placeholder {
    color: #999; 
    opacity: 1; 
}

.subscribe-button {
    padding: 14px 30px; 
    background-color: #6c2a7c;
    color: white;
    border: none;
    font-size: 1rem; 
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    border-radius: 50px; 
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-top: 10px; 
}

.subscribe-button:hover {
    background-color: #5a2066;
}

.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 10px;
    animation: fadeIn 0.5s ease;
}

.success-message {
    color: green;
    font-size: 0.9rem;
    margin-top: 10px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 600px) {
    .subscribe-container {
        padding: 20px; 
        max-width: 90%;
    }

    .subscribe-input {
        width: 100%;
        padding: 14px;
    }

    .subscribe-button {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .subscribe-container h3 {
        font-size: 1.4rem; 
    }

    .plan-name {
        font-size: 1.2rem; 
    }

    .features-title {
        font-size: 1rem; 
    }
}
