﻿/* Modal Background */
.cf-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

/* Modal Box */
.cf-modal-content {
    background-color: #fff;
    margin: 6% auto;
    width: 520px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    animation: cfFadeIn 0.3s ease-in-out;
}

/* Header */
.cf-modal-header {
    background: #014282;
    color: white;
    padding: 15px;
}

.cf-notice-title {
    font-size: 18px;
    font-weight: 600;
}

/* Body */
.cf-modal-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.cf-modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #eee;
}

/* Close button */
.cf-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

/* Button */
.cf-btn-primary {
    padding: 8px 18px;
    background: #014282;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .cf-btn-primary:hover {
        background: #0ea25b;
    }

.cf-notice-footer {
    margin-top: 15px;
    font-weight: 600;
}

/* Animation */
@keyframes cfFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
