body {
    font-family: Arial, sans-serif;
    background-color: #f5f6f8;
    margin: 0;
    padding: 20px;
    color: #334155;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Intro Text */
h1 {
    text-align: center;
    color:#1e293b;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 700;
}

.intro {
    text-align: center;
    color:#666;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Job Information */
.job-info {
    background-color: white;
    border: none;
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid #e7e7e7;
}

.label {
    font-weight: bold;
    color: #666;
}

#customerName, #jobNumber {
    color: #1e293b;
    font-weight: bold;
}

.instructions {
    margin: 20px 0;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-left: 4px solid #4f46e5;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Site Information */
.site-section {
    margin: 35px 0;
}

.site-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.site-section input {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #fafbfc;
}

.site-section input:focus {
    outline: none;
    border-color: #0056b3;
}

/* Questions */
.rating {
    display: flex;
    justify-content: space-evenly;
    margin-top: 15px;
}

.rating label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}

.rating input[type="radio"] {
    transform: scale(1.3);
    cursor: pointer;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #3a3a3a;
    margin-top: 15px;
}

.question {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.question h3 {
    color: #1e293b;
    margin-top: 0;
}

.question p{
    margin-bottom: 18px;
}

/* Comments Section */
.comments-section {
    margin-top: 40px;
}

.comments-section textarea {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    resize: vertical;
    box-sizing: border-box;
}

.comments-section textarea:focus {
    outline: none;
    border-color: #0056b3;
}

/* Submit Button Section */
#submitButton {
    margin-top: 35px;
    width: 100%;
    padding: 14px 20px;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#submitButton:hover {
    background-color: #4338ca;
}

/* Thank You Page */
.thankyou-container {
    max-width: 600px;
    margin: 100px auto;
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.thankyou-container h1 {
    color: #334155;
    margin-top: 0;
}

.thankyou-container p{
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/*Admin Page*/

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-card {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12)
}

.admin-card h3 {
    color: #1e293b;
    margin-top: 0;
}

.admin-card p {
    color: #666;
}

nav {
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a{
    color: #334155;
    font-weight: 600;
}

nav a:hover {
    color: #4f46e5;
}

nav a.active {
    color: #4f46e5;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    margin: 30px 0;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.summary-card h3 {
    margin-top: 0;
    color: #1e293b;
}

.metric {
    font-size: 2.2rem;
    font-weight: bold;
    color: #0056b3;
    margin: 15px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background: #f1f5f9;
    color: #334155;
}

th {
    font-weight: 700;
}

th, td {
    padding: 14px 18px;
    text-align: left;
}

tbody tr:nth-child(even) {
    background: #f8f9fb;
}

tbody tr:hover {
    background: #eef5ff;
}

button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .95rem;
    transition: .2s;
}

button:hover {
    background: #4338ca;
}

.chart-placeholder {
    height: 260px;
    background: white;
    border: 2px dashed #c8d3e0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    margin: 20px 0;
}

.dashboard-section {
    margin: 40px 0;
}

.filter-bar{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin:25px 0;
}

.filter-bar input, .filter-bar select{
    padding:10px;
    border-radius:8px;
    border:1px solid #ccc;
    font-size:15px;
}

.page-actions{
    display:flex;
    justify-content:flex-end;
    margin-bottom:20px;
}