/* Custom Shortcode Plugin Styles */

/* 버튼 스타일 */
.custom-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.custom-button:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 버튼 색상 */
.custom-button-blue {
    background-color: #0073aa;
    color: white;
}

.custom-button-blue:hover {
    background-color: #005a87;
    color: white;
}

.custom-button-green {
    background-color: #46b450;
    color: white;
}

.custom-button-green:hover {
    background-color: #389a41;
    color: white;
}

.custom-button-red {
    background-color: #dc3232;
    color: white;
}

.custom-button-red:hover {
    background-color: #a00;
    color: white;
}

.custom-button-orange {
    background-color: #ff6b35;
    color: white;
}

.custom-button-orange:hover {
    background-color: #e55a2b;
    color: white;
}

.custom-button-purple {
    background-color: #826eb4;
    color: white;
}

.custom-button-purple:hover {
    background-color: #6b5b8f;
    color: white;
}

/* 버튼 크기 */
.custom-button-small {
    padding: 6px 12px;
    font-size: 12px;
}

.custom-button-medium {
    padding: 10px 20px;
    font-size: 14px;
}

.custom-button-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* 알림 스타일 */
.custom-alert {
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    border-left: 4px solid;
    position: relative;
}

.custom-alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.custom-alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.custom-alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.custom-alert-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.custom-alert-dismissible {
    padding-right: 40px;
}

.alert-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.alert-close:hover {
    opacity: 1;
}

/* 박스 스타일 */
.custom-box {
    margin: 20px 0;
    padding: 20px;
    border-radius: 6px;
    background-color: #f8f9fa;
}

.custom-box-border {
    border: 1px solid #dee2e6;
}

.custom-box-default {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.custom-box-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
}

.custom-box-success {
    background-color: #d4edda;
    border-color: #28a745;
}

.custom-box-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
}

.custom-box-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.custom-box-content {
    line-height: 1.6;
}

/* 인용구 스타일 */
.custom-quote {
    margin: 20px 0;
    padding: 20px;
    border-left: 4px solid #0073aa;
    background-color: #f8f9fa;
    font-style: italic;
    position: relative;
}

.custom-quote-left {
    text-align: left;
}

.custom-quote-center {
    text-align: center;
}

.custom-quote-right {
    text-align: right;
}

.custom-quote p {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.custom-quote footer {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.custom-quote cite {
    font-style: normal;
    font-weight: 500;
}

.custom-quote cite a {
    color: #0073aa;
    text-decoration: none;
}

.custom-quote cite a:hover {
    text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .custom-button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .custom-box {
        padding: 15px;
    }
    
    .custom-quote {
        padding: 15px;
    }
}

/* 애니메이션 */
.custom-alert,
.custom-box,
.custom-quote {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 