/* IceCoal Closure Notice Popup Styles */

.icecoal-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.icecoal-popup-overlay.active {
    display: flex;
}

.icecoal-popup-container {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.icecoal-popup-content {
    padding: 40px 30px;
    color: #ffffff;
    text-align: center;
}

.icecoal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.icecoal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.icecoal-icon {
    margin: 0 auto 20px;
    color: #ffd700;
}

.icecoal-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.icecoal-message {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px;
    color: #f0f0f0;
}

.icecoal-contact {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    backdrop-filter: blur(10px);
}

.icecoal-contact-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #ffd700;
}

.icecoal-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 15px;
}

.icecoal-icon-text {
    font-size: 20px;
}

.icecoal-contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.icecoal-contact-item a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.icecoal-footer {
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0 0;
    color: #f0f0f0;
    font-style: italic;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .icecoal-popup-container {
        width: 95%;
        max-width: none;
        margin: 10px;
        border-radius: 15px;
    }
    
    .icecoal-popup-content {
        padding: 35px 20px 30px;
    }
    
    .icecoal-close-btn {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
    
    .icecoal-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .icecoal-title {
        font-size: 22px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .icecoal-message {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .icecoal-contact {
        padding: 18px 15px;
        margin: 20px 0;
    }
    
    .icecoal-contact-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .icecoal-contact-item {
        font-size: 14px;
        margin: 10px 0;
        text-align: left;
        justify-content: flex-start;
        padding: 0 5px;
    }
    
    .icecoal-contact-item a {
        word-break: break-word;
    }
    
    .icecoal-footer {
        font-size: 13px;
        line-height: 1.7;
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .icecoal-popup-container {
        width: 96%;
        margin: 8px;
        border-radius: 12px;
    }
    
    .icecoal-popup-content {
        padding: 30px 18px 25px;
    }
    
    .icecoal-close-btn {
        width: 34px;
        height: 34px;
        font-size: 26px;
        top: 8px;
        right: 8px;
    }
    
    .icecoal-icon svg {
        width: 45px;
        height: 45px;
    }
    
    .icecoal-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .icecoal-message {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .icecoal-contact {
        padding: 15px 12px;
        margin: 18px 0;
    }
    
    .icecoal-contact-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .icecoal-contact-item {
        font-size: 13px;
        margin: 8px 0;
        gap: 6px;
    }
    
    .icecoal-icon-text {
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .icecoal-footer {
        font-size: 12px;
        margin-top: 15px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .icecoal-popup-content {
        padding: 28px 15px 22px;
    }
    
    .icecoal-title {
        font-size: 18px;
    }
    
    .icecoal-message {
        font-size: 13px;
    }
    
    .icecoal-contact-item {
        font-size: 12px;
    }
    
    .icecoal-footer {
        font-size: 11px;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .icecoal-popup-container {
        max-height: 95vh;
        margin: 5px;
    }
    
    .icecoal-popup-content {
        padding: 25px 20px;
    }
    
    .icecoal-icon {
        margin-bottom: 10px;
    }
    
    .icecoal-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .icecoal-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .icecoal-message {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .icecoal-contact {
        padding: 12px;
        margin: 15px 0;
    }
    
    .icecoal-footer {
        font-size: 12px;
        margin-top: 12px;
    }
}

/* Scrollbar Styling */
.icecoal-popup-container::-webkit-scrollbar {
    width: 8px;
}

.icecoal-popup-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.icecoal-popup-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.icecoal-popup-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
