.owp-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.owp-header {
    text-align: center;
    margin-bottom: 30px;
}

.owp-header h2 {
    color: #1a73e8;
    margin-bottom: 8px;
    font-size: 24px;
}

.owp-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.owp-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.owp-field {
    flex: 1;
    min-width: 200px;
}

.owp-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.owp-field select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.owp-field select:hover {
    border-color: #1a73e8;
}

.owp-field select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.owp-field select:disabled {
    background: #f0f0f0;
    cursor: not-allowed;
}

.owp-field-button {
    flex: 0 0 auto;
}

.owp-btn {
    padding: 12px 30px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.owp-btn:hover {
    background: #1557b0;
}

.owp-btn:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
}

.owp-results {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.owp-results-header {
    background: #1a73e8;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.owp-results-header h3 {
    margin: 0;
    font-size: 18px;
}

.owp-pipe-info {
    font-size: 14px;
    opacity: 0.9;
}

.owp-params-section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.owp-params-section:last-of-type {
    border-bottom: none;
}

.owp-params-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.owp-params-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.owp-param-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.owp-param-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.owp-param-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a73e8;
}

.owp-param-value.owp-blurred {
    color: transparent;
    text-shadow: 0 0 10px rgba(26, 115, 232, 0.8);
    user-select: none;
}

.owp-zone-table {
    overflow-x: auto;
}

.owp-zone-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.owp-zone-table th,
.owp-zone-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.owp-zone-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.owp-zone-table td {
    background: #fff;
}

.owp-zone-table tr:nth-child(even) td {
    background: #fafafa;
}

.owp-zone-table td span {
    font-weight: 600;
    color: #1a73e8;
}

.owp-zone-table td span.owp-blurred {
    color: transparent;
    text-shadow: 0 0 10px rgba(26, 115, 232, 0.8);
    user-select: none;
}

.owp-notes {
    padding: 15px 20px;
    background: #fff8e1;
    border-top: 1px solid #ffe082;
    font-size: 14px;
}

.owp-notes strong {
    color: #f57c00;
}

.owp-error {
    padding: 20px;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    color: #c62828;
    text-align: center;
}

.owp-disclaimer {
    padding: 15px 20px;
    background: #f5f5f5;
    border-top: 2px solid #e0e0e0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.owp-disclaimer strong {
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.owp-disclaimer p {
    margin: 0;
}

@media (max-width: 768px) {
    .owp-form {
        flex-direction: column;
    }
    
    .owp-field {
        width: 100%;
    }
    
    .owp-params-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .owp-zone-table {
        font-size: 12px;
    }
    
    .owp-zone-table th,
    .owp-zone-table td {
        padding: 8px 4px;
    }
    
    .owp-results-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.owp-password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.owp-password-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.owp-password-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.owp-password-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.owp-password-box h3 {
    margin: 0 0 10px 0;
    color: #1a73e8;
    font-size: 20px;
}

.owp-password-box p {
    color: #666;
    margin: 0 0 20px 0;
    font-size: 14px;
}

.owp-password-box input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.owp-password-box input[type="password"]:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.owp-password-box .owp-btn {
    width: 100%;
}

.owp-password-error {
    color: #c62828;
    font-size: 13px;
    margin-bottom: 15px;
}

.owp-results-blurred .owp-param-value.owp-blurred {
    color: transparent;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.owp-results-blurred .owp-zone-table td span.owp-blurred {
    color: transparent;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.owp-results-blurred .owp-results-header {
    background: #666;
}

.owp-results-blurred .owp-params-section {
    position: relative;
}

.owp-results-blurred .owp-params-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.owp-password-box h3 {
    margin: 0 0 10px 0;
    color: #1a73e8;
    font-size: 20px;
}

.owp-password-box p {
    color: #666;
    margin: 0 0 20px 0;
    font-size: 14px;
}
