/* =========================================================
   Bio Generator Styles
   File: /tools/bio-generator/assets/css/bio-generator.css
   ========================================================= */

.bgio-tool-bg {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.bgio-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.07);
    padding: 30px;
}

.bgio-form-card {
    position: relative;
    z-index: 2;
}

.bgio-info-card {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
    color: #fff;
}

.bgio-badge {
    display: inline-block;
    background: rgba(255,255,255,0.16);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.bgio-form-title,
.bgio-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 14px;
    font-weight: 800;
}

.bgio-form-title {
    color: #101828;
    font-size: 28px;
}

.bgio-help,
.bgio-subtitle {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.bgio-help {
    color: #667085;
}

.bgio-subtitle {
    color: rgba(255,255,255,0.92);
}

.bgio-points {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.bgio-points li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.bgio-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #93c5fd;
}

.bgio-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bgio-mini-item {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 18px;
}

.bgio-mini-item h4 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.bgio-mini-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

.bgio-supported {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.bgio-supported span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.bgio-note-box {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #eef6ff;
    color: #36516d;
    font-size: 14px;
    line-height: 1.7;
    border: 1px solid #d8e9ff;
}

.bgio-status {
    display: none;
    margin-top: 16px;
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 14px;
    line-height: 1.6;
}

.bgio-status-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.bgio-status-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.bgio-status-error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}

.bgio-section-title {
    font-size: 32px;
    line-height: 1.25;
    color: #101828;
    margin-bottom: 18px;
}

.bgio-section-text {
    color: #667085;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 15px;
}

.bgio-score-list {
    padding-left: 18px;
    color: #667085;
}

.bgio-score-list li {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 16px;
}

.bgio-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.bgio-feature-box {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 22px;
}

.bgio-feature-box h4 {
    font-size: 18px;
    color: #101828;
    margin-bottom: 10px;
    font-weight: 700;
}

.bgio-feature-box p {
    margin: 0;
    color: #667085;
    line-height: 1.8;
    font-size: 15px;
}

.bgio-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.bgio-modal-header {
    background: #0f172a;
    color: #fff;
    border-bottom: none;
    padding: 20px 24px;
}

.bgio-modal-header .close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
}

.bgio-modal-body {
    padding: 26px 24px 18px;
    background: #f8fafc;
}

.bgio-modal-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 18px 24px;
}

.bgio-result-subtitle {
    color: #667085;
    line-height: 1.7;
    margin-bottom: 22px;
}

.bgio-keyword-title {
    font-size: 18px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
}

.bgio-keyword-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bgio-keyword-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
}

.bgio-result-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 22px;
    margin-bottom: 18px;
}

.bgio-result-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.bgio-result-title {
    margin: 0 0 6px;
    font-size: 20px;
    color: #101828;
    font-weight: 800;
}

.bgio-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bgio-meta-badge,
.bgio-word-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.bgio-meta-badge {
    background: #eef2ff;
    color: #4338ca;
}

.bgio-word-badge {
    background: #ecfdf3;
    color: #027a48;
}

.bgio-result-text {
    font-size: 16px;
    line-height: 1.9;
    color: #344054;
    white-space: pre-wrap;
    margin-bottom: 18px;
}

.bgio-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bgio-copy-btn {
    border: none;
    background: #1d4ed8;
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s ease;
}

.bgio-copy-btn:hover {
    transform: translateY(-1px);
    background: #1e40af;
}

.bgio-tips-box {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
}

.bgio-tips-box h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #101828;
    font-weight: 700;
}

.bgio-tips-box ul {
    margin: 0;
    padding-left: 18px;
}

.bgio-tips-box li {
    color: #667085;
    margin-bottom: 8px;
    line-height: 1.7;
}

#bioGeneratorForm .form-control {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    box-shadow: none;
    padding: 12px 14px;
    font-size: 15px;
}

#bioGeneratorForm textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

#bioGeneratorForm label {
    color: #101828;
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .bgio-mini-grid,
    .bgio-feature-list {
        grid-template-columns: 1fr;
    }

    .bgio-card {
        padding: 22px;
    }

    .bgio-title,
    .bgio-form-title,
    .bgio-section-title {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .bgio-result-top {
        flex-direction: column;
    }

    .bgio-result-actions {
        width: 100%;
    }

    .bgio-copy-btn,
    .default-btn {
        width: 100%;
        text-align: center;
    }
}