/* Pop-up overlay (background) */
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: auto;
    animation: slideIn 0.3s ease-out;
}

/* Popup container */
.popup-container {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.popup-content {
    background: #ffffff;
    padding: 25px 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

/* Close button */
.close-btn {
    color: #adb5bd;
    font-size: 24px;
    font-weight: 300;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: #495057;
    transform: scale(1.1);
}

/* Button styling */
button {
    background: #b5cb4c;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 5px;
    width: 100%;
    max-width: 200px;
}

button:hover {
    background: #3e8e41;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .popup {
        right: 10px;
        bottom: 10px;
        width: 280px;
    }
    
    .popup-content {
        padding: 20px 15px 15px;
    }
}

.fancy-quote {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
    border-left: 8px solid #b5cb4c;
    padding: 20px 30px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    position: relative;
}

.fancy-quote p {
    margin: 0 0 10px;
    font-style: italic;
    font-weight: 500;
}

.fancy-quote cite {
    display: block;
    text-align: right;
    font-size: 1rem;
    color: #777;
}