/* Class Materials Page Styles */
.material-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
    transition: transform 0.2s ease;
}

.material-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.material-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.material-icon {
    background: #f5f5f5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.material-icon i {
    font-size: 24px;
    color: #333;
}

.material-title {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.material-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.material-properties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.property-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.property-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.property-value {
    color: #666;
    font-size: 14px;
}

.material-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-button {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-button {
    background: #007bff;
    color: white;
}

.primary-button:hover {
    background: #0056b3;
}

.secondary-button {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.secondary-button:hover {
    background: #e9ecef;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .material-card {
        margin: 10px 0;
        padding: 15px;
    }

    .material-header {
        flex-direction: column;
        text-align: center;
    }

    .material-icon {
        margin: 0 0 10px 0;
    }

    .material-title {
        font-size: 20px;
    }

    .material-properties {
        grid-template-columns: 1fr;
    }

    .property-item {
        padding: 0.625rem;
    }

    .material-actions {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .material-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .material-actions {
        display: none;
    }

    .material-icon {
        display: none;
    }

    .material-properties,
    .preparation-steps {
        break-inside: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .material-card,
    .action-button {
        transition: none;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .material-card {
        border: 2px solid CanvasText;
    }

    .material-header {
        border-bottom: 2px solid CanvasText;
    }

    .material-icon {
        border: 2px solid CanvasText;
    }

    .property-item,
    .step,
    .material-verification {
        border: 2px solid CanvasText;
    }

    .class-equipment-class-table {
        border: 2px solid CanvasText;
    }

    .class-equipment-class-table th,
    .class-equipment-class-table td {
        border: 1px solid CanvasText;
    }
}

/* Technical Content Styles */
.material-challenges,
.material-preparation,
.material-verification {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.material-challenges h3,
.material-preparation h3,
.material-verification h3 {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.material-challenges ul,
.material-verification ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.material-challenges li,
.material-verification li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.material-challenges li:before,
.material-verification li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

.preparation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.step {
    background: white;
    padding: 1.25rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step h4 {
    color: #007bff;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.step p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.material-info {
    padding: 1rem;
}

.material-info h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
}

.material-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.material-info li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #666;
}

.material-info li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .material-challenges,
    .material-preparation,
    .material-verification {
        padding: 1rem;
        margin: 1rem 0;
    }

    .preparation-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step {
        padding: 1rem;
    }

    .material-info {
        padding: 0.75rem;
    }

    .material-info h4 {
        font-size: 1rem;
    }

    .material-info li {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .material-challenges,
    .material-preparation,
    .material-verification {
        background: none;
        border: 1px solid #ddd;
    }

    .step {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Tables */
.class-equipment-class-tables {
    margin-top: 30px;
}

.class-table-section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.class-equipment-class-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px;
    margin-bottom: 30px;
}

.class-equipment-class-table th {
    background: #f8f9fa;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 18px;
}

.class-equipment-class-table td {
    padding: 0;
    vertical-align: top;
}

.material-info {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.material-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.material-info h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.material-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.material-info li {
    margin-bottom: 8px;
    color: #666;
    font-size: 15px;
    padding-left: 20px;
    position: relative;
}

.material-info li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .class-equipment-class-table {
        border-spacing: 10px;
    }

    .class-equipment-class-table th {
        padding: 15px;
        font-size: 16px;
    }

    .material-info {
        padding: 15px;
    }

    .material-info h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .material-info li {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

/* Print Styles */
@media print {
    .class-equipment-class-table {
        border-spacing: 10px;
    }

    .class-equipment-class-table th {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .material-info {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .material-info:hover {
        transform: none;
        box-shadow: none;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .class-table-section-title {
        border-bottom: 2px solid CanvasText;
    }

    .class-equipment-class-table th {
        border: 2px solid CanvasText;
    }

    .material-info {
        border: 2px solid CanvasText;
    }

    .material-info h4 {
        border-bottom: 1px solid CanvasText;
    }
}

/* Section Titles */
.section-title {
    font-size: 24px;
    color: #333;
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* Material Categories Section */
.material-categories {
    margin-top: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card h4 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.category-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-section h5 {
    color: #007bff;
    font-size: 16px;
    margin-bottom: 10px;
}

.category-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-section li {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.category-section li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* Preparation Guide Section */
.preparation-guide {
    margin-top: 40px;
}

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

.guide-section h4 {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}

.challenges-grid,
.steps-grid,
.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.challenge-card,
.step-card,
.verification-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease;
}

.challenge-card:hover,
.step-card:hover,
.verification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.challenge-card h5,
.step-card h5 {
    color: #007bff;
    font-size: 18px;
    margin-bottom: 10px;
}

.challenge-card p,
.step-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.verification-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.verification-card i {
    color: #28a745;
    font-size: 20px;
}

.verification-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
        margin: 30px 0 15px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 15px;
    }

    .category-card h4 {
        font-size: 18px;
    }

    .challenges-grid,
    .steps-grid,
    .verification-grid {
        grid-template-columns: 1fr;
    }

    .challenge-card,
    .step-card,
    .verification-card {
        padding: 15px;
    }

    .challenge-card h5,
    .step-card h5 {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .category-card,
    .challenge-card,
    .step-card,
    .verification-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .category-card:hover,
    .challenge-card:hover,
    .step-card:hover,
    .verification-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .section-title {
        border-bottom: 2px solid CanvasText;
    }

    .category-card,
    .challenge-card,
    .step-card,
    .verification-card {
        border: 2px solid CanvasText;
    }

    .category-card h4 {
        border-bottom: 1px solid CanvasText;
    }
} 