/* PNO Analyzer v2.0 */
#pno-wrap {
    font-family: Arial, sans-serif;
    max-width: 820px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 10px;
    direction: rtl;
    background: #fff;
}

#pno-status {
    font-size: 16px;
    margin-bottom: 16px;
    color: #444;
    min-height: 22px;
}

#pno-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

#pno-record-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
#pno-record-btn:hover:not(:disabled) { background: #a93226; }
#pno-record-btn:disabled { background: #aaa; cursor: default; }

#pno-stop-btn {
    background: #555;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
#pno-stop-btn:hover:not(:disabled) { background: #333; }
#pno-stop-btn:disabled { background: #ccc; cursor: default; }

#pno-timer {
    font-size: 18px;
    font-family: monospace;
    color: #333;
    min-width: 50px;
}

#pno-progress {
    padding: 14px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
}

#pno-bar {
    height: 6px;
    border-radius: 3px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #3498db 40%, #ddd 40%);
    background-size: 200% 100%;
    animation: pno-slide 1.4s linear infinite;
}

@keyframes pno-slide {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

#pno-results h3 {
    margin: 0 0 12px;
    color: #2c3e50;
    font-size: 18px;
}

#pno-summary {
    background: #eaf4fb;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

#pno-summary strong { color: #2980b9; }

#pno-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 16px;
}

#pno-table th {
    background: #2c3e50;
    color: #fff;
    padding: 9px 14px;
    text-align: right;
    font-weight: normal;
}

#pno-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #eee;
    text-align: right;
}

#pno-table tr:hover td { background: #f8f9fa; }

.bal {
    color: #27ae60;
    font-weight: bold;
}

.dev-bar {
    display: inline-block;
    width: 56px;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 6px;
    overflow: hidden;
}

.dev-fill {
    height: 100%;
    background: #e74c3c;
    border-radius: 4px;
}

#pno-copy-btn {
    background: #27ae60;
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
}
#pno-copy-btn:hover { background: #1e8449; }

.pno-sep { color: #ccc; }

#pno-upload-btn {
    background: #2980b9;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
#pno-upload-btn:hover:not(:disabled) { background: #1f6391; }
#pno-upload-btn:disabled { background: #aaa; cursor: default; }
