/* Common styles for Pink Sock test pages */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

header {
    margin-bottom: 30px;
    border-bottom: 2px solid #FF69B4;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

h1 {
    color: #FF69B4;
    font-size: 24px;
    margin: 0;
}

h2 {
    color: #D6568F;
    border-bottom: 1px solid #FFC0CB;
    padding-bottom: 8px;
    margin-top: 30px;
}

h3 {
    color: #333;
    margin-top: 25px;
}

pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.4;
}

.code-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.test-container {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
}

.severity {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    color: white;
}

.high {
    background-color: #FF8800;
}

.medium {
    background-color: #FFCC00;
    color: #333;
}

.low {
    background-color: #00CC00;
}

.explanation {
    background-color: #e6f7ed;
    border-left: 4px solid #00CC00;
    padding: 15px;
    margin: 20px 0;
}

.vulnerability {
    background-color: #fff0f0;
    border-left: 4px solid #FF6666;
    padding: 15px;
    margin: 20px 0;
}

.iframe-container {
    margin: 30px 0;
    border: 1px dashed #ccc;
    padding: 10px;
}

.iframe-container iframe {
    border: 2px solid #FF69B4;
    width: 100%;
    height: 300px;
}

.nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.nav a {
    text-decoration: none;
    color: #FF69B4;
    padding: 10px 15px;
    border: 1px solid #FF69B4;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav a:hover {
    background-color: #FF69B4;
    color: white;
}

footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.code-inline {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 14px;
}

.test-detail {
    margin-bottom: 30px;
}

.test-detail h3 {
    display: flex;
    align-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}
