/* ==================================================
   TheCityCeleb Newsletter Styles
   Based on Envo Magazine Theme Styling
   ================================================== */

/* --- Newsletter Container --- */
.tcc-newsletter-container {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 3px rgba(244, 4, 192, 0.3);
    transition: transform 0.3s ease;
    border-left: 3px solid #0e92f5;
    border-right: 3px solid #f404c0;
    border-top: 3px solid #0e92f5;
    border-bottom: 3px solid #f404c0;
}

.tcc-newsletter-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 6px rgba(14, 146, 245, 0.3);
}

/* --- Standard Style --- */
.tcc-style-standard {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 30px;
}

.tcc-style-standard .tcc-header {
    text-align: center;
    margin-bottom: 25px;
}

.tcc-style-standard .tcc-star {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    animation: glitter 2s infinite;
}

@keyframes glitter {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.tcc-style-standard h3 {
    color: #f404c0;
    font-size: 28px;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Alegreya", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
    text-shadow: 0 5px 3px rgba(14, 146, 245, 0.3);
}

.tcc-style-standard p {
    color: #fff;
    opacity: 0.9;
    margin: 0;
    font-style: italic;
}

/* --- Sidebar Style --- */
.tcc-style-sidebar {
    background: linear-gradient(135deg, #f404c0 0%, #d103a0 100%);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 3px rgba(244, 4, 192, 0.3);
    border-left: 3px solid #0e92f5;
    border-right: 3px solid #0e92f5;
}

.tcc-style-sidebar .tcc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.tcc-style-sidebar .tcc-star {
    font-size: 24px;
    color: #FFD700;
}

.tcc-style-sidebar h4 {
    color: white;
    font-size: 18px;
    margin: 0;
    font-weight: 800;
    font-family: "Alegreya", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
}

/* --- Popup Style --- */
.tcc-style-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 380px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.tcc-popup-content {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border: 3px solid #f404c0;
    border-left: 3px solid #0e92f5;
    border-right: 3px solid #f404c0;
    border-top: 3px solid #0e92f5;
    border-bottom: 3px solid #f404c0;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 3px rgba(244, 4, 192, 0.3);
}

.tcc-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #f404c0;
    opacity: 0.7;
    transition: opacity 0.3s;
    font-weight: 800;
}

.tcc-close:hover {
    opacity: 1;
    color: #0e92f5;
}

.tcc-popup-content h3 {
    color: #f404c0;
    font-size: 24px;
    margin: 10px 0;
    font-family: "Alegreya", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
    text-align: center;
}

.tcc-popup-content p {
    color: white;
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}

/* --- Form Elements --- */
.tcc-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tcc-form input {
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 16px;
    background: rgba(255,255,255,0.95);
    transition: all 0.3s;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
    border-left: 2px solid #0e92f5;
    border-right: 2px solid #f404c0;
}

.tcc-form input:focus {
    outline: none;
    border-color: #f404c0;
    box-shadow: 0 5px 3px rgba(14, 146, 245, 0.3);
    transform: scale(1.02);
}

.tcc-button {
    padding: 15px 30px;
    border: none;
    border-radius: 20px;
    background: #f404c0;
    color: white;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Alegreya", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
    border-left: 3px solid #0e92f5;
    border-right: 3px solid #0e92f5;
    box-shadow: 0 5px 3px rgba(244, 4, 192, 0.3);
}

.tcc-button:hover {
    background: #0e92f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 6px rgba(14, 146, 245, 0.3);
}

.tcc-button:active {
    transform: translateY(0);
}

.tcc-message {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
}

.tcc-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 2px solid #4CAF50;
    opacity: 1;
}

.tcc-message.error {
    background: rgba(244, 4, 192, 0.1);
    color: #f404c0;
    border: 2px solid #f404c0;
    opacity: 1;
}

.tcc-note {
    font-size: 12px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    margin: 5px 0 0;
    font-style: italic;
}

/* --- Featured Image Styling for Newsletter Elements --- */
.tcc-newsletter-container img,
.tcc-newsletter-container .tcc-star {
    border-radius: 500px;
    border-bottom: 7px solid #f404c0;
    border-right: 7px solid #0e92f5;
    border-top: 7px solid #0e92f5;
    border-left: 7px solid #f404c0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .tcc-style-popup {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .tcc-newsletter-container {
        margin: 0 10px;
    }
    
    .tcc-style-standard {
        padding: 20px;
    }
    
    .tcc-style-standard h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .tcc-button {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .tcc-form input {
        padding: 12px 15px;
    }
}
