/* ADD PROFESSION PAGE */

.add-profession {
    background: #f4f4f4;
    padding: 60px 0;
     display: flex;
    justify-content: center;
}

.add-profession h1 {
    font-size: 32px;
    color: #0b3c6d;
    margin-bottom: 30px;
    text-align: center;
}
 .add-profession .container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* ?? ключовий рядок */
}

/* Форма */
.profession-form {
    background: #fff;
    max-width: 600px;
    padding: 30px;
    border-radius: 12px;
    border-top: 6px solid #f9b233;
}

.profession-form label {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.profession-form input,
.profession-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.profession-form input:focus,
.profession-form textarea:focus {
    outline: none;
    border-color: #0b3c6d;
}

/* Повідомлення */
.alert {
    max-width: 600px;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: bold;
}

.alert.error {
    background: #ffe5e5;
    color: #b00000;
}

.alert.success {
    background: #e6f7ea;
    color: #1f7a3a;
}
/* FIX для CKEditor */
.ck-content {
    font-weight: normal;
}

.ck-content ul {
    list-style-type: disc !important;
    margin-left: 24px !important;
    padding-left: 24px !important;
}

.ck-content ol {
    list-style-type: decimal !important;
    margin-left: 24px !important;
    padding-left: 24px !important;
}

.ck-content li {
    display: list-item !important;
}
.ck-content u,
.ck-content span[style*="text-decoration"] {
    text-decoration: underline !important;
}
/* MOBILE */
@media (max-width: 768px) {
    .add-profession h1 {
        font-size: 24px;
    }

    .profession-form {
        padding: 20px;
    }
}
