/* CV Maintenance Alert Styles */

.maintenance-alert {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.maintenance-alert .container-fluid {
    position: relative;
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.alert-message {
    flex: 1;
    text-align: center;
}

.alert-message strong {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.alert-message p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.alert-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.maintenance-alert .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.maintenance-alert .btn-primary {
    background: white;
    color: #ff6b6b;
}

.maintenance-alert .btn-primary:hover {
    background: #f0f0f0;
    color: #ff6b6b;
    text-decoration: none;
    transform: translateY(-1px);
}

.maintenance-alert .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.maintenance-alert .btn-secondary:hover {
    background: white;
    color: #ff6b6b;
    text-decoration: none;
    transform: translateY(-1px);
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .maintenance-alert {
        padding: 20px 0;
    }
    
    .alert-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 15px;
    }
    
    .alert-message strong {
        font-size: 16px;
    }
    
    .alert-message p {
        font-size: 13px;
    }
    
    .alert-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .maintenance-alert .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 10px 20px;
    }
    
    .alert-close {
        top: 15px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .alert-content {
        padding: 0 10px;
    }
    
    .alert-message strong {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .alert-message p {
        font-size: 12px;
    }
}

/* アニメーション */
.maintenance-alert {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 閉じるアニメーション */
.maintenance-alert.closing {
    animation: slideUp 0.3s ease-in forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
        max-height: 200px;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
        max-height: 0;
    }
}