/**
 * Hash Generator Styles
 * 해시 생성기 전용 스타일
 *
 * @package Zipper
 */

/* 입력 영역 */
.hash-input-section {
    margin-bottom: 24px;
}

.hash-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hash-input-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d2a26;
}

.hash-input-actions {
    display: flex;
    gap: 8px;
}

.hash-action-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #e8e4dc;
    border-radius: 6px;
    font-size: 13px;
    color: #5f5a56;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hash-action-btn:hover {
    background: #faf9f7;
    border-color: #d4af37;
    color: #d4af37;
}

.hash-action-btn i {
    font-size: 14px;
}

.hash-textarea {
    width: 100%;
    height: 160px;
    padding: 16px;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #2d2a26;
    background: #faf9f7;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hash-textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.hash-textarea::placeholder {
    color: #8c8579;
}

/* 옵션 영역 */
.hash-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #faf9f7;
    border-radius: 12px;
}

.hash-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hash-option-label {
    font-size: 14px;
    color: #2d2a26;
    font-weight: 500;
}

.hash-option-group {
    display: flex;
    gap: 4px;
}

.hash-option-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e8e4dc;
    font-size: 13px;
    color: #5f5a56;
    cursor: pointer;
    transition: all 0.2s;
}

.hash-option-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.hash-option-btn:last-child {
    border-radius: 0 6px 6px 0;
}

.hash-option-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    border-color: #d4af37;
    color: #fff;
}

.hash-option-btn:not(.active):hover {
    background: #faf9f7;
    border-color: #d4af37;
    color: #d4af37;
}

/* 통계 영역 */
.hash-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.hash-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5f5a56;
}

.hash-stat-value {
    font-weight: 600;
    color: #d4af37;
}

/* 결과 영역 */
.hash-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hash-result-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hash-result-card:hover {
    border-color: #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
}

.hash-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #faf9f7;
    border-bottom: 1px solid #e8e4dc;
}

.hash-result-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d2a26;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hash-result-title i {
    color: #d4af37;
}

.hash-result-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    background: rgba(212, 175, 55, 0.1);
    color: #b8860b;
    border-radius: 4px;
}

.hash-copy-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #e8e4dc;
    border-radius: 6px;
    font-size: 13px;
    color: #5f5a56;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hash-copy-btn:hover {
    background: #faf9f7;
    border-color: #d4af37;
    color: #d4af37;
}

.hash-copy-btn.copied {
    background: rgba(46, 125, 50, 0.1);
    border-color: #2e7d32;
    color: #2e7d32;
}

.hash-copy-btn i {
    font-size: 14px;
}

.hash-result-body {
    padding: 16px;
}

.hash-result-value {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #2d2a26;
    word-break: break-all;
    background: #faf9f7;
    padding: 12px;
    border-radius: 6px;
    min-height: 20px;
}

.hash-result-value.empty {
    color: #8c8579;
    font-style: italic;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 빈 상태 */
.hash-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #8c8579;
}

.hash-empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.hash-empty-state p {
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hash-options {
        flex-direction: column;
        gap: 12px;
    }

    .hash-stats {
        flex-direction: column;
        gap: 12px;
    }

    .hash-textarea {
        height: 140px;
    }

    .hash-result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hash-copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hash-input-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hash-input-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .hash-textarea {
        height: 120px;
        font-size: 13px;
        padding: 12px;
    }

    .hash-result-value {
        font-size: 11px;
        padding: 10px;
    }

    .hash-option-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}
