/* SLS IPG Test Page Styles */

.sls-ipg-test-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.sls-ipg-test-content {
    background: #fff;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.sls-ipg-test-content h1 {
    font-size: 32px;
    color: #23282d;
    margin-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 15px;
}

.sls-ipg-test-content .description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.sls-ipg-test-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.sls-ipg-test-section h2 {
    font-size: 24px;
    color: #23282d;
    margin-bottom: 10px;
}

.sls-ipg-test-section > p {
    color: #666;
    margin-bottom: 20px;
}

.sls-ipg-test-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #23282d;
}

.form-group input,
.form-group select {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.form-group span {
    margin-left: 10px;
    font-weight: 600;
}

.form-group .hint {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 150px;
}

.button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}

.button-primary:hover {
    background: #005a87;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.result-box.show {
    display: block;
}

.result-box.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.result-box.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.result-box.loading {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.result-box pre {
    background: rgba(0,0,0,0.05);
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
    margin-top: 10px;
}

.sls-ipg-info-box {
    margin-top: 40px;
    padding: 25px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.sls-ipg-info-box h3 {
    font-size: 20px;
    color: #23282d;
    margin-bottom: 15px;
}

.sls-ipg-info-box ul {
    list-style: disc;
    margin-left: 20px;
    color: #555;
}

.sls-ipg-info-box ul li {
    margin-bottom: 8px;
}

.sls-ipg-info-box .warning {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

@media screen and (max-width: 768px) {
    .sls-ipg-test-container {
        margin: 20px;
        padding: 10px;
    }
    
    .sls-ipg-test-content {
        padding: 20px;
    }
    
    .sls-ipg-test-section {
        padding: 15px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        min-width: 100%;
    }
}


