/* Reset et variables - Branding EduSante */
:root {
    /* Couleurs principales EduSante */
    --primary-color: #072E52;
    --primary-dark: #051d35;
    --primary-light: #0a3d6b;
    --accent-color: #BE0F19;
    --accent-dark: #9a0c14;
    --accent-light: #d41420;
    --secondary-color: #00a859;
    --secondary-dark: #008547;
    --danger-color: #BE0F19;
    --warning-color: #f39c12;
    --dark-color: #1a1a1a;
    --light-color: #f5f7fa;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

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

html {
    height: 100%;
}

body {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    flex: 1;
    min-height: calc(100vh - 300px);
    padding: 20px 0;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 35px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.main-nav a:hover {
    background: var(--light-color);
    color: var(--accent-color);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.username {
    color: var(--text-light);
}

.btn-logout {
    background: var(--accent-color);
    color: var(--white) !important;
}

.btn-logout:hover {
    background: var(--accent-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: #555;
}

.btn-success {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-success:hover {
    background: var(--secondary-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-left: 4px solid var(--danger-color);
}

.alert-success {
    background: #efe;
    color: #3c3;
    border-left: 4px solid var(--secondary-color);
}

.alert-info {
    background: #eef;
    color: #33c;
    border-left: 4px solid var(--primary-color);
}

/* Auth pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.auth-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 450px;
}

.auth-box h1 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

.auth-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-control,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Urbanist', sans-serif;
    background-color: var(--white);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23072E52' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(7, 46, 82, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.form-control:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(7, 46, 82, 0.1);
}

.form-group select:active {
    border-color: var(--accent-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Courses grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-color);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 20px;
}

.course-content h2,
.course-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.course-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.course-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-specialise {
    background: #e3f2fd;
    color: #0d47a1;
    border: 1px solid #2196f3;
}

.badge-premier_secours {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #f44336;
}

.badge-pediatrique {
    background: #f3e5f5;
    color: #4a148c;
    border: 1px solid #9c27b0;
}

.badge-generaliste {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #4caf50;
}

.badge-autre {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ff9800;
}

.course-duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Course page */
.course-header {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.course-header-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
}

.course-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

.course-header-content h1 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.course-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.lessons-list {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.lessons {
    list-style: none;
}

.lesson-item {
    margin-bottom: 10px;
}

.lesson-item a {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--light-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.3s;
}

.lesson-item a:hover {
    background: #d5dbdb;
}

.lesson-item.completed a {
    background: #d4edda;
}

.lesson-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.lesson-title {
    flex: 1;
}

.lesson-status {
    color: var(--secondary-color);
    font-weight: 500;
}

.course-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quiz-section,
.certificate-section {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.quiz-section h3,
.certificate-section h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.text-muted {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Lesson page */
.lesson-header {
    margin-bottom: 30px;
}

.breadcrumb {
    margin-bottom: 15px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.lesson-content {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.lesson-video {
    width: 100%;
    margin-bottom: 30px;
}

.lesson-video video {
    width: 100%;
    border-radius: 10px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    margin-bottom: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.lesson-video video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.lesson-image {
    margin-bottom: 30px;
}

.lesson-image img {
    width: 100%;
    border-radius: 10px;
}

.lesson-text {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.lesson-actions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.lesson-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* Quiz page */
.quiz-header {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.quiz-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.quiz-info p {
    margin-bottom: 10px;
}

.quiz-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.question-block {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-color);
}

.question-block:last-child {
    border-bottom: none;
}

.question-header h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.question-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.answers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--light-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.answer-option:hover {
    background: #d5dbdb;
}

.answer-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.quiz-actions {
    margin-top: 40px;
    text-align: center;
}

.quiz-timer {
    background: var(--warning-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

/* Quiz result */
.quiz-result-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-result-summary {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    text-align: center;
}

.quiz-result-summary.passed {
    border: 3px solid var(--secondary-color);
}

.quiz-result-summary.failed {
    border: 3px solid var(--danger-color);
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    font-size: 2.5rem;
    font-weight: bold;
}

.quiz-result-summary.passed .score-circle {
    background: var(--secondary-color);
    color: var(--white);
}

.quiz-result-summary.failed .score-circle {
    background: var(--danger-color);
    color: var(--white);
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    margin: 10px 0;
}

.status-badge.success {
    background: var(--secondary-color);
    color: var(--white);
}

.status-badge.error {
    background: var(--danger-color);
    color: var(--white);
}

.quiz-result-details {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.answer-detail {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid;
}

.answer-detail.correct {
    background: #d4edda;
    border-color: var(--secondary-color);
}

.answer-detail.incorrect {
    background: #f8d7da;
    border-color: var(--danger-color);
}

.answer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.answer-status {
    font-weight: 500;
}

.answer-status.correct {
    color: var(--secondary-color);
}

.answer-status.incorrect {
    color: var(--danger-color);
}

.answer-comparison {
    margin-top: 15px;
}

.quiz-result-actions {
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Certificate page */
.certificate-page {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.certificate-display {
    text-align: center;
}

.certificate-preview {
    border: 5px solid var(--primary-color);
    padding: 60px 40px;
    margin: 30px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
}

.certificate-preview h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.certificate-text {
    font-size: 1.2rem;
    margin: 20px 0;
    color: var(--text-color);
}

.certificate-name {
    font-size: 2rem;
    color: var(--dark-color);
    margin: 30px 0;
    font-weight: bold;
}

.certificate-course {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0;
    font-weight: 600;
}

.certificate-date,
.certificate-number {
    margin: 15px 0;
    color: var(--text-light);
}

.certificate-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.certificate-generate {
    text-align: center;
    padding: 40px;
}

.certificate-generate h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.certificate-generate p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Dashboard */
.dashboard-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-section {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.dashboard-section h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.certificates-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.certificate-item {
    padding: 20px;
    background: var(--light-color);
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
}

.certificate-item h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.certificate-item p {
    margin-bottom: 8px;
    color: var(--text-light);
}

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

.certificate-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--secondary-color);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.certificate-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-color);
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certificate-content {
    padding: 20px;
}

.certificate-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.certificate-badge {
    margin-bottom: 15px;
}

.certificate-info {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.certificate-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}


/* Admin interface */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
}

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

.admin-menu-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.admin-menu-item h2 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.admin-menu-item p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.admin-table-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--light-color);
}

.admin-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
}

.admin-table td {
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.admin-table tbody tr:hover {
    background: #f9f9f9;
}

.admin-table .actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 5px 12px;
    font-size: 0.85rem;
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
}

.admin-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.text-center {
    text-align: center;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.question-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.question-actions {
    display: flex;
    gap: 10px;
}

.question-text {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.answer-item {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: var(--light-color);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.answer-item.correct {
    background: #d4edda;
    border-left: 4px solid var(--secondary-color);
}

.correct-badge {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.answer-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.answer-input-group input[type="text"] {
    flex: 1;
    min-width: 200px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
}

.current-image {
    margin-bottom: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 5px;
}

.current-image p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.current-image img {
    display: block;
    box-shadow: var(--shadow);
}

#image-preview {
    padding: 15px;
    background: var(--light-color);
    border-radius: 5px;
}

#image-preview p {
    margin-bottom: 10px;
    color: var(--text-light);
}

#image-preview img {
    display: block;
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo-link {
        justify-content: center;
    }

    .logo-image {
        height: 30px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .course-content-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .certificate-preview {
        padding: 30px 20px;
    }

    .certificate-preview h1 {
        font-size: 1.8rem;
    }

    .certificate-name {
        font-size: 1.5rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-table {
        font-size: 0.9rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px;
    }

    .answer-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .answer-input-group input[type="text"] {
        width: 100%;
    }
}

