﻿
/* components.css - All flexbox content containers */
.content-container {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.training-article-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
}

.article-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.media-content-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.text-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-content {
    flex: 1;
    max-width: 300px;
    flex-direction:column;
}

.training-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.step-number {
    flex: 0 0 30px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.video-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Form elements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-row {
    display: flex;
    gap: 15px;
}

    .form-row .form-group {
        flex: 1;
    }