
/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    margin-right: 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb a::after {
    content: ">";
    margin-left: 5px;
}

.breadcrumb a:last-child::after {
    content: "";
}

/* Plank Content */
.plank-number, .plank-name {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.5em;
}

.purpose, .outcome {
    margin: 20px 0;
}

.purpose strong {
    font-size: 1.1em;
    color: #007bff;
}

.outcome-heading {
    font-weight: bold;
    margin-top: 15px;
}

.outcome.poor {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.outcome.expected {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.outcome.excellent {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Slider and Button Styles */
.slider-container {
    margin: 30px 0;
    display: flex;
    align-items: center;
}

.slider-label {
    font-size: 1.1em;
    width: 150px;
    margin-right: 15px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 70%;
    height: 6px;
    background: #007bff;
    outline: none;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    cursor: pointer;
}

output {
    margin-left: 15px;
    font-size: 1.2em;
    color: #333;
}

button, .save-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

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

/* Form Styles */
form {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

input[type="text"], input[type="date"], input[type="number"], textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    height: 100px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #007bff;
    outline: none;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    cursor: pointer;
}

/* Special Section Styles */
.special-section {
    background-color: #eef9ff;
    border: 2px solid #007bff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.15);
}

.special-section h3 {
    font-size: 22px;
    color: #0056b3;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.special-section .item-field {
    margin-bottom: 8px;
    padding: 10px;
    width: 100%;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: #fff;
}

.add-item-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.add-item-btn:hover {
    background-color: #0056b3;
}

.form-section {
    margin-bottom: 30px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.85em;
    }
    
    .container {
        padding: 15px;
    }

    input[type="range"] {
        width: 60%;
    }
    
    .slider-label {
        width: 100px;
    }

    input[type="submit"] {
        font-size: 14px;
        padding: 10px 15px;
    }

    .special-section {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    input[type="range"] {
        width: 100%;
    }

    .slider-label {
        width: auto;
        margin-right: 10px;
    }

    input[type="submit"] {
        font-size: 12px;
        padding: 8px 10px;
    }

    .special-section {
        padding: 8px;
    }
}

/* Collapsible Sections */
.collapsible {
    cursor: pointer;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.arrow {
    width: 10px;
    height: 10px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.content {
    padding-left: 20px;
    display: none;
    overflow: hidden;
}

.active .arrow {
    transform: rotate(90deg);
}

/* Front page mobile styles */
@media (max-width: 768px) {
    .collapsible {
        padding: 8px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .collapsible {
        padding: 6px;
        font-size: 0.8em;
    }
}
