.wlcy-wrap {
    max-width: 700px;
    padding: 25px;
    margin: 20px auto;
    border: 1px solid #ddd;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 로그인 상태 표시 영역 */
.wlcy-login-status {
    margin-bottom: 20px;
}

.login-info-box {
    padding: 12px 20px;
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    border-radius: 4px;
    font-size: 14px;
}

.login-info-box.not-logged {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.login-info-label {
    font-weight: 600;
    color: #2e7d32;
}

.login-info-value {
    color: #1b5e20;
    font-weight: 500;
}

.login-warning {
    color: #f57c00;
    font-weight: 600;
}

/* 로그인 안내 영역 */
.wlcy-login-notice {
    padding: 40px 20px;
    text-align: center;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    margin-top: 20px;
}

.wlcy-login-notice p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #856404;
    font-weight: 600;
}

.wlcy-btn-login {
    background: #0073aa;
    color: white;
    padding: 12px 30px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.wlcy-btn-login:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.wlcy-wrap h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.wlcy-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.wlcy-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wlcy-form-group label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.wlcy-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
    transition: border-color 0.3s;
}

.wlcy-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.wlcy-btn {
    padding: 9px 24px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.wlcy-btn:hover {
    background: #005a87;
}

.wlcy-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.wlcy-result {
    min-height: 50px;
}

.wlcy-result table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: white;
}

.wlcy-result thead {
    background: #f5f5f5;
}

.wlcy-result th {
    border: 1px solid #ddd;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    color: #333;
    background: #f9f9f9;
}

.wlcy-result td {
    border: 1px solid #ddd;
    padding: 10px 8px;
    color: #555;
}

.wlcy-result tr:hover {
    background: #f5f5f5;
}

.loading {
    color: #0073aa;
    padding: 15px;
    text-align: center;
    font-size: 15px;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.error {
    color: #dc3232;
    font-weight: 600;
    padding: 15px;
    background: #fee;
    border-left: 4px solid #dc3232;
    border-radius: 4px;
}

.no-data {
    color: #666;
    padding: 15px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 4px;
}

.result-count {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.result-count strong {
    color: #0073aa;
}

/* 반응형 디자인 */
@media (max-width: 700px) {
    .wlcy-wrap {
        margin: 15px;
        padding: 20px;
    }

    .login-info-box {
        padding: 10px 15px;
        font-size: 13px;
    }

    .wlcy-login-notice p {
        font-size: 14px;
    }
}
