/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f4f4;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    padding: 50px;
    font-family: Arial, sans-serif;
}

h2 {
    margin-bottom: 20px;
    text-align: center;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label, input {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #0056b3;
}

#loading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#info, #results {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
}

ul {
    list-style-type: none;
}

h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Highlight for good/bad results */
p.good, li.good {
    color: #28a745; /* Green for success */
    font-weight: bold;
}

p.bad, li.bad {
    color: #dc3545; /* Red for failure */
    font-weight: bold;
}

p.warning, li.warning {
    color: #ffc107; /* Yellow for warning */
    font-weight: bold;
}

p, li {
    margin-bottom: 10px;
}

/* Add icons to good/bad results for clarity */
li.good::before {
    content: '✔ ';
    color: #28a745;
}

li.bad::before {
    content: '✖ ';
    color: #dc3545;
}

/* For specific result analysis */
#results ul li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

#results h3 {
    font-size: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

#results p {
    font-size: 14px;
}

/* Improve spacing between sections */
#info p, #results p, #results li {
    margin-bottom: 10px;
}

#results li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

#results .section-title {
    font-size: 16px;
    color: #007BFF;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Table-like structure for good and bad result sections */
#results .good-result, #results .bad-result {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

#results .good-result {
    background-color: #e7f9e7; /* Light green background */
    border: 1px solid #28a745;
}

#results .bad-result {
    background-color: #f9e7e7; /* Light red background */
    border: 1px solid #dc3545;
}

/* Adjustments for videos */
video {
    display: block;
    margin: 20px auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 16px;
    color: #007BFF;
    margin-bottom: 10px;
    font-weight: bold;
}
