﻿/* cal1.css */
.cal1-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.cal1-description {
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: center;
}

.cal1-note {
    font-size: 14px;
    color: #666;
}

.cal1-button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

    .cal1-button-group button {
        background: #fff;
        color: #0078d7;
        border: 1px solid #0078d7;
        padding: 10px 14px;
        border-radius: 8px;
        cursor: pointer;
    }

        .cal1-button-group button.active {
            background: #005bb5;
            color: #fff;
            transform: scale(1.03);
            transition: all .15s ease-in-out;
        }

.cal1-input-group {
    display: grid;
    gap: 14px;
    max-width: 600px;
    margin: 20px auto;
}

.cal1-input-field {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

    .cal1-input-field label {
        min-width: 120px;
        font-size: 16px;
        text-align: left;
    }

    .cal1-input-field input {
        flex: 1;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 16px;
    }

.cal1-check-btn {
    background: #0078d7;
    color: #fff;
    border: none;
    padding: 14px 26px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 6px;
}

    .cal1-check-btn:hover {
        background: #005bb5;
    }

.cal1-result-area {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.cal1-result-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.cal1-grid {
    display: grid;
    gap: 10px;
}

.cal1-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.cal1-alert {
    margin-top: 14px;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
}

    .cal1-alert.ok {
        background: #e6ffe6;
        color: #006600;
    }

    .cal1-alert.warn {
        background: #fff3e6;
        color: #cc6600;
    }

    .cal1-alert.danger {
        background: #ffe6e6;
        color: #cc0000;
    }

.cal1-share-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.cal1-excel-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.1s ease;
}

    .cal1-excel-btn:hover {
        background-color: #218838;
    }

.cal1-kakao-btn {
    padding: 12px 24px;
    background-color: #FEE500;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.1s ease;
}

    .cal1-kakao-btn:hover {
        background-color: #E6CF00;
    }

    .cal1-kakao-btn::before {
        content: "";
        display: inline-block;
        width: 18px;
        height: 18px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 208 191"><path fill="black" d="M104,0C46.56,0,0,36.71,0,82c0,29.28,19.47,55,48.75,69.48-1.59,5.49-10.24,35.34-10.58,37.69,0,0-.21,1.76.93,2.43a3.14,3.14,0,0,0,2.48.15c3.28-.46,38.21-25.57,44.09-29.86,6,.67,12.09,1.06,18.33,1.06,57.44,0,104-36.71,104-82S161.44,0,104,0Z"/></svg>');
        background-repeat: no-repeat;
        background-size: contain;
        margin-right: 5px;
    }

@media (max-width: 768px) {
    .cal1-button-group {
        flex-direction: column;
    }

    .cal1-input-field {
        flex-direction: column;
        align-items: stretch;
    }

    .cal1-share-wrapper {
        flex-direction: column;
    }
}
