/**
 * Jung Self-Discovery Test (تست خودشناسی یونگ)
 * CSS Stylesheet
 * 
 * LAYOUT POSITIONS:
 * - Row 1 (top, outside): 1-8
 * - Row 2 (second, outside): 17-20
 * - Main Rectangle:
 *   - Top: 25, 31, 26
 *   - Middle left: 29
 *   - Middle center (vertical): 34, 35, 33
 *   - Middle right: 30
 *   - Bottom: 27, 32, 28
 * - Row 3 (below rectangle): 21-24
 * - Row 4 (bottom, outside): 9-16
 */

/* ============================================== */
/* FONTS - Persian-friendly fonts                 */
/* ============================================== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

/* ============================================== */
/* INTRODUCTION PAGE STYLES                       */
/* ============================================== */
.jung-intro-section {
    font-family: 'Vazirmatn', 'Baloo Bhaijaan 2', 'Tahoma', sans-serif;
    direction: rtl;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e8f8f0 0%, #d4f1e3 100%);
    min-height: 100vh;
}

.jung-intro-header {
    text-align: center;
    margin-bottom: 50px;
}

.jung-intro-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e7e34;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.jung-intro-subtitle {
    font-size: 1.5rem;
    color: #155724;
    margin: 0;
    font-weight: 500;
}

.jung-intro-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.jung-intro-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jung-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.jung-intro-card-icon {
    text-align: center;
    margin-bottom: 20px;
}

.jung-intro-card-icon i {
    font-size: 4rem;
    color: #27ae60;
}

.jung-intro-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e7e34;
    margin: 0 0 20px 0;
    text-align: center;
}

.jung-intro-card p {
    font-size: 1.1rem;
    line-height: 2;
    color: #155724;
    text-align: justify;
    margin: 0;
}

.jung-dimensions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.jung-dimension-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-right: 4px solid #27ae60;
}

.jung-dimension-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #27ae60;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jung-dimension-item h3 i {
    font-size: 1rem;
}

.jung-dimension-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #155724;
    margin: 0;
}

.jung-benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.jung-benefits-list li {
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.8;
}

.jung-benefits-list li:last-child {
    border-bottom: none;
}

.jung-benefits-list li i {
    color: #27ae60;
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.jung-benefits-list li {
    color: #155724;
}

.jung-benefits-list strong {
    color: #1e7e34;
}

.jung-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.jung-step {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.jung-step:hover {
    background-color: #27ae60;
    color: #fff;
}

.jung-step:hover .jung-step-number {
    background-color: #fff;
    color: #27ae60;
}

.jung-step:hover h3,
.jung-step:hover p {
    color: #fff;
}

.jung-step-number {
    width: 60px;
    height: 60px;
    background-color: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.jung-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e7e34;
    margin: 0 0 10px 0;
}

.jung-step p {
    font-size: 1rem;
    line-height: 1.8;
    color: #155724;
    margin: 0;
}

.jung-intro-actions {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.jung-start-btn {
    padding: 20px 60px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.jung-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.5);
}

.jung-start-btn i {
    font-size: 1.8rem;
}

.jung-share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.jung-share-text {
    font-size: 1.2rem;
    color: #1e7e34;
    font-weight: 600;
}

.jung-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.jung-social-btn.telegram {
    background-color: #0088cc;
}

.jung-social-btn.twitter {
    background-color: #1da1f2;
}

.jung-social-btn.facebook {
    background-color: #1877f2;
}

.jung-social-btn.linkedin {
    background-color: #0077b5;
}

.jung-social-btn.copy {
    background-color: #95a5a6;
}

.jung-social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.jung-copy-url-success {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #155724;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: #d4edda;
    padding: 12px 25px;
    border-radius: 25px;
    animation: fadeIn 0.3s ease;
    border: 1px solid #27ae60;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.jung-copy-url-success i {
    font-size: 1.3rem;
    color: #27ae60;
}

/* ============================================== */
/* MAIN SECTION STYLES                           */
/* ============================================== */
.jung-test-section {
    font-family: 'Vazirmatn', 'Baloo Bhaijaan 2', 'Tahoma', sans-serif;
    direction: rtl;
    padding: 40px 20px 80px;
    background: linear-gradient(180deg, #e8f8f0 0%, #d4f1e3 100%);
    min-height: 100vh;
}

.jung-test-header {
    text-align: center;
    margin-bottom: 40px;
}

.jung-test-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e7e34;
    margin: 0;
    padding: 20px 0;
}

.jung-test-instructions {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #d4edda;
    border: 2px solid #27ae60;
    border-radius: 8px;
    text-align: right;
}

.jung-test-instructions p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #155724;
}

.jung-test-instructions strong {
    font-size: 1.1rem;
    color: #1e7e34;
}

/* ============================================== */
/* CONTAINER STYLES                               */
/* ============================================== */
.jung-test-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* ============================================== */
/* INPUT STYLES - Identical for all textboxes     */
/* ============================================== */
.jung-input {
    width: 90px;
    height: 50px;
    padding: 10px 14px;
    border: 2px solid #333;
    border-radius: 4px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 12px;
    text-align: center;
    background-color: #fff;
    color: #333;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.jung-input::placeholder {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.jung-input:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.4);
    background-color: #fff;
}

.jung-input:disabled {
    background-color: #fff;
    cursor: not-allowed;
    opacity: 0.6;
}

.jung-input:disabled.filled {
    opacity: 1;
    background-color: #f0f8ff;
    border-color: #27ae60;
}

.jung-input.active {
    opacity: 1;
    background-color: #fffde7;
    border-color: #f39c12;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* ============================================== */
/* ROW LAYOUTS                                    */
/* ============================================== */
.jung-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    direction: ltr; /* Left to right for number ordering as shown in image */
}

/* Row 1: Top row - 8 inputs (1-8) */
.row-1 {
    margin-bottom: 30px;
}

/* Row 2: Second row - 4 inputs (17-20) with more spacing */
.row-2 {
    gap: 80px;
    margin-bottom: 30px;
}

/* Row 3: Below rectangle - 4 inputs (21-24) */
.row-3 {
    gap: 80px;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Row 4: Bottom row - 8 inputs (9-16) */
.row-4 {
    margin-top: 30px;
}

/* ============================================== */
/* MAIN RECTANGLE - Center area with border       */
/* ============================================== */
.jung-main-rectangle {
    border: 3px solid #333;
    border-radius: 8px;
    padding: 40px 30px;
    margin: 0 auto;
    max-width: 700px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Rows inside rectangle */
.jung-rect-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: ltr; /* Left to right as shown in image */
}

/* Top row inside rectangle: 25, 31, 26 */
.rect-row-top {
    padding: 0 50px;
}

/* Middle row inside rectangle */
.rect-row-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.rect-middle-left,
.rect-middle-right {
    flex-shrink: 0;
}

/* Center vertical stack: 34, 35, 33 */
.jung-center-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 2px solid #333;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: #fafafa;
}

/* Bottom row inside rectangle: 27, 32, 28 */
.rect-row-bottom {
    padding: 0 50px;
}

/* ============================================== */
/* NEXT BUTTON SECTION                            */
/* ============================================== */
.jung-next-section {
    max-width: 500px;
    margin: 30px auto 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.jung-next-btn {
    padding: 12px 50px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.jung-next-btn:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.jung-next-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.jung-validation-error {
    color: #e74c3c;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: #ffe6e6;
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #e74c3c;
}

/* ============================================== */
/* EMAIL SUBMISSION SECTION - MODERN DESIGN       */
/* ============================================== */
.jung-submission-section {
    max-width: 600px;
    margin: 50px auto 0;
    padding: 0;
}

.jung-email-form {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #27ae60;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(39, 174, 96, 0.15);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.jung-email-header {
    text-align: center;
    margin-bottom: 10px;
}

.jung-email-header i {
    font-size: 3.5rem;
    color: #27ae60;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.jung-email-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e7e34;
    margin: 0 0 10px 0;
}

.jung-email-header p {
    font-size: 1rem;
    color: #155724;
    margin: 0;
    line-height: 1.6;
}

.jung-email-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.jung-email-input-wrapper i {
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
    color: #27ae60;
    pointer-events: none;
}

.jung-email-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #d4edda;
    border-radius: 12px;
    font-size: 16px;
    text-align: left;
    direction: ltr;
    font-family: 'Vazirmatn', sans-serif;
    background-color: #fff;
    transition: all 0.3s ease;
}

.jung-email-input:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
    transform: translateY(-2px);
}

.jung-email-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #e74c3c;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: #ffe6e6;
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #e74c3c;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.jung-email-error i {
    font-size: 1.2rem;
}

.jung-submit-btn {
    position: relative;
    padding: 18px 40px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.jung-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.jung-submit-btn:hover::before {
    left: 100%;
}

.jung-submit-btn:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.4);
}

.jung-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.jung-submit-btn:disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 10px rgba(149, 165, 166, 0.2);
}

.jung-submit-btn .btn-content,
.jung-submit-btn .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.jung-submit-btn .btn-content i,
.jung-submit-btn .btn-loading i {
    font-size: 1.3rem;
}

.jung-submit-btn .btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================== */
/* SUCCESS MESSAGE SECTION                        */
/* ============================================== */
.jung-success-section {
    max-width: 500px;
    margin: 50px auto 20px;
    padding: 40px;
    background-color: #d4edda;
    border: 2px solid #27ae60;
    border-radius: 8px;
    text-align: center;
}

.jung-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.jung-success-message i {
    font-size: 4rem;
    color: #27ae60;
}

.jung-success-message p {
    font-size: 1.4rem;
    font-weight: 600;
    color: #155724;
    margin: 0;
}

/* ============================================== */
/* AI INTERPRETATION SECTION                      */
/* ============================================== */
.jung-interpretation-section {
    max-width: 900px;
    margin: 30px auto 50px;
    padding: 0;
}

.jung-interpretation-container {
    background-color: #fff;
    border: 3px solid #27ae60;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.15);
}

.jung-interpretation-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    text-align: center;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.jung-interpretation-title i {
    font-size: 2rem;
}

.jung-interpretation-loading {
    text-align: center;
    padding: 40px 20px;
}

.jung-interpretation-loading p {
    font-size: 1.2rem;
    color: #155724;
    margin-top: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #27ae60;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.jung-interpretation-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf9 100%);
    border: 2px solid #d4f1e3;
    border-radius: 16px;
    padding: 40px;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #2c5f3f;
    text-align: justify;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.08);
}

/* Headings in interpretation */
.jung-interpretation-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e7e34;
    margin: 30px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #27ae60;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jung-interpretation-content h3:first-child {
    margin-top: 0;
}

.jung-interpretation-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #27ae60;
    margin: 25px 0 15px 0;
    padding-right: 15px;
    border-right: 4px solid #27ae60;
}

/* Paragraphs */
.jung-interpretation-content p {
    margin-bottom: 18px;
    line-height: 2;
    color: #155724;
}

/* Bold text */
.jung-interpretation-content strong,
.jung-interpretation-content b {
    color: #1e7e34;
    font-weight: 700;
    background: linear-gradient(120deg, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Lists */
.jung-interpretation-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.jung-interpretation-content ul li {
    position: relative;
    padding: 15px 60px 15px 60px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #e8f8f0 0%, #f0f9f5 100%);
    border-radius: 10px;
    border-right: 4px solid #27ae60;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
}

.jung-interpretation-content ul li:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.jung-interpretation-content ul li:before {
    content: "✓";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.jung-interpretation-content ol {
    counter-reset: item;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.jung-interpretation-content ol li {
    position: relative;
    padding: 15px 20px 15px 60px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f0f9f5 0%, #ffffff 100%);
    border-radius: 10px;
    border-right: 4px solid #229954;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
}

.jung-interpretation-content ol li:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.jung-interpretation-content ol li:before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #229954 0%, #1e7e34 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Emphasis and italic */
.jung-interpretation-content em,
.jung-interpretation-content i {
    font-style: italic;
    color: #27ae60;
}

/* Links */
.jung-interpretation-content a {
    color: #27ae60;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.jung-interpretation-content a:hover {
    color: #1e7e34;
}

/* Blockquote for special notes */
.jung-interpretation-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: linear-gradient(135deg, #fff9e6 0%, #fffef5 100%);
    border-right: 5px solid #f39c12;
    border-radius: 10px;
    font-style: italic;
    color: #856404;
    box-shadow: 0 3px 12px rgba(243, 156, 18, 0.15);
}

/* Dividers */
.jung-interpretation-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #27ae60 50%, transparent 100%);
    margin: 30px 0;
}

/* Code or technical terms */
.jung-interpretation-content code {
    background-color: #e8f8f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #27ae60;
    font-size: 0.95rem;
}

/* ============================================== */
/* RESULT PAGE STYLES                             */
/* ============================================== */
.jung-result-page .jung-test-section {
    min-height: auto;
}

.jung-result-meta {
    text-align: center;
    margin-top: 15px;
}

.jung-result-meta p {
    font-size: 1rem;
    color: #155724;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jung-result-meta i {
    color: #27ae60;
}

/* ============================================== */
/* SHARE SECTION                                  */
/* ============================================== */
.jung-share-section {
    max-width: 800px;
    margin: 40px auto;
}

.jung-share-container {
    background-color: #fff;
    border: 2px solid #27ae60;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.jung-share-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.jung-share-description {
    font-size: 1rem;
    color: #155724;
    margin: 0 0 20px 0;
}

.jung-share-link-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.jung-share-link-input {
    flex: 1;
    min-width: 300px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    direction: ltr;
    text-align: left;
    background-color: #f8f9fa;
}

.jung-share-link-input:focus {
    outline: none;
    border-color: #27ae60;
}

.jung-copy-btn {
    padding: 12px 30px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jung-copy-btn:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.jung-copy-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #27ae60;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px;
    background-color: #d4edda;
    border-radius: 4px;
}

.jung-copy-success i {
    font-size: 1.2rem;
}

/* ============================================== */
/* SOCIAL SHARE BUTTONS - ELEGANT CARD DESIGN     */
/* ============================================== */
.jung-social-share {
    margin-top: 50px;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.jung-social-share-text {
    text-align: center;
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.jung-social-share-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
}

.jung-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.jung-social-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.jung-social-btn span {
    display: none;
}

.jung-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
}

.jung-social-btn:active {
    transform: translateY(-1px);
}

.jung-social-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Individual button colors - Clean Solid Style */
.telegram-btn {
    background: #0088cc;
}

.telegram-btn:hover {
    background: #006699;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.35);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.twitter-btn {
    background: #000000;
}

.twitter-btn:hover {
    background: #333333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.facebook-btn {
    background: #1877F2;
}

.facebook-btn:hover {
    background: #0d65d9;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.linkedin-btn {
    background: #0A66C2;
}

.linkedin-btn:hover {
    background: #004182;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.35);
}

/* Responsive social buttons */
@media (max-width: 768px) {
    .jung-social-share {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .jung-social-buttons {
        gap: 12px;
    }
    
    .jung-social-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .jung-social-share {
        padding: 25px 15px;
    }
    
    .jung-social-btn {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    
    .jung-social-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================== */
/* BACK BUTTON SECTION                            */
/* ============================================== */
.jung-back-section {
    text-align: center;
    margin: 40px auto 60px;
}

.jung-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background-color: #95a5a6;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s ease;
}

.jung-back-btn:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 140, 141, 0.4);
    color: #fff;
}

/* ============================================== */
/* RESPONSIVE STYLES                              */
/* ============================================== */
@media (max-width: 900px) {
    .jung-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .row-2,
    .row-3 {
        gap: 40px;
    }

    .jung-main-rectangle {
        padding: 30px 20px;
    }

    .rect-row-top,
    .rect-row-middle,
    .rect-row-bottom {
        padding: 0 20px;
    }

    .jung-input {
        width: 75px;
        height: 45px;
        font-size: 11px;
    }
}

@media (max-width: 900px) {
    .jung-intro-title {
        font-size: 2.5rem;
    }

    .jung-intro-subtitle {
        font-size: 1.2rem;
    }

    .jung-intro-card {
        padding: 30px;
    }

    .jung-intro-card h2 {
        font-size: 1.7rem;
    }

    .jung-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .jung-intro-section {
        padding: 40px 15px;
    }

    .jung-intro-title {
        font-size: 2rem;
    }

    .jung-intro-subtitle {
        font-size: 1rem;
    }

    .jung-intro-card {
        padding: 25px;
    }

    .jung-intro-card-icon i {
        font-size: 3rem;
    }

    .jung-intro-card h2 {
        font-size: 1.5rem;
    }

    .jung-intro-card p,
    .jung-benefits-list li {
        font-size: 1rem;
    }

    .jung-dimension-item h3 {
        font-size: 1.1rem;
    }

    .jung-start-btn {
        padding: 18px 40px;
        font-size: 1.3rem;
    }

    .jung-share-text {
        font-size: 1rem;
    }

    .jung-social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .jung-test-title {
        font-size: 1.8rem;
    }

    .jung-row {
        gap: 8px;
    }

    .row-2,
    .row-3 {
        gap: 20px;
    }

    .jung-main-rectangle {
        padding: 20px 15px;
        gap: 30px;
    }

    .rect-row-top,
    .rect-row-middle,
    .rect-row-bottom {
        padding: 0 10px;
    }

    .jung-input {
        width: 65px;
        height: 40px;
        font-size: 10px;
        padding: 8px 10px;
    }

    .jung-center-stack {
        padding: 8px 15px;
    }

    .jung-interpretation-container {
        padding: 20px;
    }

    .jung-interpretation-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 10px;
    }

    .jung-interpretation-content {
        padding: 25px 20px;
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .jung-interpretation-content h3 {
        font-size: 1.3rem;
        margin: 20px 0 15px 0;
    }
    
    .jung-interpretation-content h4 {
        font-size: 1.1rem;
        margin: 18px 0 12px 0;
    }
    
    .jung-interpretation-content ul li,
    .jung-interpretation-content ol li {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
    }
    
    .jung-interpretation-content ul li:before {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        right: 12px;
    }
    
    .jung-interpretation-content ol li:before {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        right: 10px;
    }

    .jung-share-container {
        padding: 20px;
    }

    .jung-share-title {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 5px;
    }

    .jung-share-link-box {
        flex-direction: column;
    }

    .jung-share-link-input {
        min-width: 100%;
        font-size: 0.85rem;
    }

    .jung-copy-btn {
        width: 100%;
    }

    .jung-email-form {
        padding: 25px;
    }

    .jung-email-header i {
        font-size: 2.5rem;
    }

    .jung-email-header h3 {
        font-size: 1.4rem;
    }

    .jung-email-header p {
        font-size: 0.9rem;
    }

    .jung-email-input {
        padding: 14px 45px 14px 15px;
        font-size: 14px;
    }

    .jung-email-input-wrapper i {
        right: 12px;
        font-size: 1rem;
    }

    .jung-submit-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .jung-email-error {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
}

