.ysp-bcrypt-wrap {
    width: 100%;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    margin: 0;
}

.ysp-bcrypt-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.ysp-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ysp-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ysp-input-row:last-child {
    border-bottom: none;
}

.ysp-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #333;
    min-width: 80px;
    flex-shrink: 0;
}

.ysp-label-text {
    font-size: 0.875rem;
    color: #999;
    margin-right: 0.5rem;
}

.ysp-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ysp-input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    font-size: 0.9375rem;
    line-height: 1.4;
    background: #fff;
    color: #333;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.ysp-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 1px rgba(24, 144, 255, 0.1);
}

.ysp-input:hover:not(:focus) {
    border-color: #999;
}

.ysp-generate-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.ysp-generate-btn {
    padding: 0.5rem 2.5rem;
    border: 1px solid #1890ff;
    border-radius: 2px;
    background: #1890ff;
    color: white;
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    height: 2.5rem;
    min-width: 160px;
}

.ysp-generate-btn:hover {
    background: #40a9ff;
    border-color: #40a9ff;
}

.ysp-generate-btn:active {
    transform: scale(0.98);
}

.ysp-generate-btn:disabled {
    background: #f0f0f0;
    border-color: #d9d9d9;
    color: #bfbfbf;
    cursor: not-allowed;
    transform: none;
}

.ysp-result-wrap {
    margin-top: 1.5rem;
    display: none;
}

.ysp-result-wrap.show {
    display: block;
    animation: ysp-fade-in 0.3s ease;
}

@keyframes ysp-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ysp-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.ysp-result-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #333;
}

.ysp-copy-btn {
    padding: 0.25rem 0.75rem;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 1px;
    font-size: 0.75rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    display: none;
}

.ysp-copy-btn:hover {
    border-color: #999;
    color: #333;
    background: #fafafa;
}

.ysp-copy-btn:active {
    transform: scale(0.95);
}

.ysp-result-box {
    padding: 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #fafafa;
    min-height: 4rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #333;
    word-break: break-all;
    white-space: pre-wrap;
    transition: border-color 0.2s;
}

.ysp-result-box:hover {
    border-color: #999;
}

.ysp-placeholder {
    color: #bfbfbf;
    font-style: normal;
}

.ysp-loading {
    color: #888;
    position: relative;
    padding-right: 1.5rem;
}

.ysp-loading::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.875rem;
    height: 0.875rem;
    border: 1px solid #e8e8e8;
    border-top-color: #1890ff;
    border-radius: 50%;
    animation: ysp-spin 0.8s linear infinite;
    transform: translateY(-50%);
}

@keyframes ysp-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.ysp-result-error {
    color: #ff4d4f;
    border-color: #ff4d4f;
    background: #fff2f0;
}

.ysp-error-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
    display: inline-block;
}

.ysp-seo-content {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
}

.ysp-seo-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.ysp-seo-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
}

.ysp-seo-text p {
    margin-bottom: 0.75rem;
}

.ysp-seo-text p:last-child {
    margin-bottom: 0;
}