/* ===============================
   Al Mashreq – Training Needs Survey
   Frontend Styles (Wide Layout)
================================ */

.amtns-wrap {
    /*background: #f7f9fc;*/
    padding: 40px 20px;
}

.amtns-container {
    max-width: 1200px; /* WIDER layout */
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Intro */
.amtns-intro h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #0a3d62;
}

.amtns-intro p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    max-width: 800px;
}

/* Progress bar */
.amtns-progress {
    margin-bottom: 35px;
}

.amtns-progress-bar {
    height: 8px;
    background: #e5e9f0;
    border-radius: 4px;
    overflow: hidden;
}

.amtns-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0a3d62, #1e90ff);
    transition: width 0.3s ease;
}

.amtns-progress-text {
    margin-top: 8px;
    font-size: 13px;
    color: #777;
}

/* Steps */
.amtns-step h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #222;
}

.amtns-step-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    max-width: 900px;
}

/* Fields */
.amtns-field {
    margin-bottom: 22px;
    max-width: 700px;
}

.amtns-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.amtns-field input[type="text"],
.amtns-field input[type="email"],
.amtns-field textarea,
.amtns-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccd2da;
    font-size: 15px;
    background: #fff;
}

.amtns-field textarea {
    min-height: 120px;
}

.amtns-radio,
.amtns-checkbox {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
}

.amtns-radio input,
.amtns-checkbox input {
    margin-right: 8px;
}

/* Matrix */
.amtns-matrix {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.amtns-matrix th,
.amtns-matrix td {
    border: 1px solid #dbe1e8;
    padding: 10px;
    text-align: left;
}

.amtns-matrix th {
    background: #f1f4f9;
    font-weight: 600;
    color: #333;
}

.amtns-matrix select {
    width: 100%;
    padding: 8px;
}

/* Navigation */
.amtns-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

.amtns-btn {
    background: #0a3d62;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amtns-btn:hover {
    background: #083152;
}

.amtns-btn:disabled {
    background: #b8c4d2;
    cursor: not-allowed;
}

.amtns-back {
    background: #6c757d;
}

.amtns-back:hover {
    background: #5a6268;
}

/* Thank you */
.amtns-thankyou h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #0a3d62;
}

.amtns-thankyou p {
    font-size: 16px;
    color: #555;
}

.amtns-suggestions {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.amtns-suggestions li {
    background: #f8fafc;
    border: 1px solid #e1e6ee;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
}

.amtns-suggestions a {
    color: #1e90ff;
    text-decoration: none;
}

.amtns-download {
    margin-top: 25px;
}

/* Errors */
.amtns-error {
    border-color: #dc3545 !important;
}


/* Inline messages */
.amtns-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.amtns-message.success {
    background: #e6f6ee;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.amtns-message.error {
    background: #fdecea;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.amtns-message.info {
    background: #e7f1ff;
    color: #084298;
    border: 1px solid #b6d4fe;
}
.amtns-hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {

    .amtns-container {
        padding: 30px 20px;
    }

    .amtns-matrix th,
    .amtns-matrix td {
        font-size: 13px;
        padding: 8px;
    }

    .amtns-nav {
        flex-direction: column;
        gap: 10px;
    }

    .amtns-btn {
        width: 100%;
        text-align: center;
    }
}

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

.amtns-card {
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.amtns-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.amtns-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0a3d62;
}

.amtns-card-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

/* Al Mashreq branded button */
.amtns-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0a3d62, #1e6fd9);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .2s ease;
}

.amtns-btn-primary:hover {
    opacity: 0.9;
}