:root{--primary:#2563eb;--primary-dark:#1d4ed8;--primary-light:#3b82f6;--primary-bg:#deecff;--dark-blue:#1e3a8a;--darker-blue:#0f2557;--text-dark:#1a1a1a;--text-body:#4b5563;--text-muted:#64748b;--gray-light:#f5faff;--gray-lighter:#f1f5f9;--border-color:#e5e7eb;--border-light:#d1d5db;--success:#166534;--success-bg:#f0fdf4;--success-border:#dcfce7;--warning:#92400e;--warning-bg:#fffbeb;--warning-border:#fef3c7;--error:#b91c1c;--error-bg:#fef2f2;--error-border:#fee2e2;--shadow-sm:0 1px 2px #0000000d;--shadow:0 1px 3px #00000014 0 1px 2px #0000000d;--shadow-md:0 2px 8px #00000014;--shadow-lg:0 4px 12px #0000001a;--border-radius:8px;--border-radius-lg:10px}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;margin:0;padding:0;color:var(--text-body);background-color:var(--gray-light);line-height:1.6;font-size:18px;scroll-behavior:auto}
a{text-decoration:none;border:none;outline:none;background:none;box-shadow:none;color:var(--primary);text-decoration:underline}
a:hover,a:focus{color:var(--primary-dark);text-decoration:underline}
a:active{transform:translateY(1px)}
.container,.history-container{max-width:1140px;width:100%;margin:0 auto;padding:0 0.875rem;box-sizing:border-box}
:focus{outline:3px solid #3b82f680;outline-offset:2px}
.skip-to-content{position:absolute;top:-40px;left:0;background:var(--primary);color:#fff;padding:8px 16px;z-index:1000}
.skip-to-content:focus{top:0}
h1,h2,h3,h4,h5,h6{font-weight:600;color:var(--text-dark);margin-top:0;line-height:1.3}
h1{font-size:2rem;margin-bottom:1.5rem;color:var(--dark-blue)}
h2{font-size:1.75rem;margin-bottom:1.25rem;padding-bottom:.625rem;border-bottom:1px solid var(--border-color);color:var(--dark-blue)}
h3{font-size:1.375rem;margin-bottom:1rem;color:var(--dark-blue)}
p:last-child{margin-bottom:0}
.form-group,.form-row{margin-bottom:0.8rem}
.form-row{margin-bottom:1.5rem}
label,.form-row label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-dark)}
.form-row label{color:#444}
input[type="text"],.form-row input,.form-row textarea,.form-row select{width:100%;padding:.75rem;border:1px solid var(--border-light);border-radius:var(--border-radius);box-sizing:border-box;box-shadow:var(--shadow-sm);font-family:inherit;font-size:16px}
.form-row input,.form-row textarea,.form-row select{padding:12px;border:1px solid #ddd;border-radius:4px;font-size:1rem;transition:border-color 0.3s ease}
input[type="text"]:focus,.form-row input:focus,.form-row textarea:focus,.form-row select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #3b82f626 var(--shadow-sm)}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{border-color:#007bff}
input[type="text"]::placeholder{color:#a0aec0}
.form-row textarea{min-height:150px;resize:vertical}
button,.btn-check-pnr,.btn-share,.btn-print{background-color:var(--primary);color:#fff;border:none;padding:.75rem 1.25rem;border-radius:var(--border-radius);cursor:pointer;font-weight:500;box-shadow:0 2px 4px #2563eb33;font-family:inherit}
button:hover,.btn-check-pnr:hover,.btn-share:hover,.btn-print:hover,button:focus,.btn-check-pnr:focus,.btn-share:focus,.btn-print:focus{background-color:var(--primary-dark);box-shadow:0 4px 6px #2563eb40}
button:focus,.btn-check-pnr:focus,.btn-share:focus,.btn-print:focus{outline:none;box-shadow:0 0 0 3px #3b82f666}
button:active,.btn-check-pnr:active,.btn-share:active,.btn-print:active{box-shadow:0 2px 4px #2563eb33}
.site-header{background-color:var(--dark-blue);color:#fff;padding:1rem 0;box-shadow:0 2px 8px #00000026;position:sticky;top:0;z-index:100}
.header-container{max-width:1320px;margin:0 auto;padding:0 0.875rem;display:flex;justify-content:space-between;align-items:center}
.logo a{display:flex;align-items:center;text-decoration:none;color:#fff;border:none;outline:0}
.logo img{height:1.25rem;margin-right:.75rem;width:auto;border:none}
.logo-text{font-weight:600;letter-spacing:.3px}
.main-menu ul{display:flex;list-style:none;margin:0;padding:0}
.main-menu li{margin-left:1.75rem}
.main-menu a{color:#fff;text-decoration:none;font-weight:500;position:relative;padding-bottom:.25rem;border:none;outline:none}
.main-menu a:hover{opacity:1}
.main-menu a:after{content:'';position:absolute;width:0;height:2px;bottom:0;left:0;background-color:#fff}
.main-menu a:hover:after{width:100%}
.pnr-search-box{background-color:#fff;padding:1.875rem;border-radius:var(--border-radius-lg);box-shadow:var(--shadow-md);margin-bottom:2.5rem}
.btn-check-pnr{width:100%;font-size:1.5rem}
.features-section,.how-to-section{margin-top:3.75rem;margin-bottom:2rem;scroll-margin-top:5rem}
.how-to-section{margin-bottom:3.75rem}
.features-grid{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2rem;margin-top:2rem}
.feature-card,.journey-detail-item,.train-info,.step{background-color:white;padding:1.5rem;border-radius:var(--border-radius-lg);box-shadow:var(--shadow-md)}
.feature-card{flex:1 1 220px;text-align:left;position:relative;overflow:hidden}
.feature-card:hover,.journey-detail-item:hover,.step:hover{box-shadow:var(--shadow-lg)}
.feature-icon{margin-bottom:1rem;display:flex;align-items:left;justify-content:left;height:40px}
.feature-icon svg{width:40px;height:40px;fill:#4a6cf7}
.feature-card h3{color:var(--dark-blue);margin-bottom:0.75rem;position:relative;display:inline-block}
.feature-card h3:after{content:'';position:absolute;left:0;bottom:-5px;width:40px;height:2px;background-color:var(--primary-light)}
.feature-card p{color:var(--text-body);line-height:1.6}
.steps-container{display:flex;flex-direction:column;gap:1.25rem;margin-top:1.875rem}
.step{display:flex}
.step-number{width:3.125rem;height:3.125rem;background-color:var(--primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:600;margin-right:1.25rem;flex-shrink:0}
.step-content{flex:1}
.step-content h3{color:var(--dark-blue);margin-bottom:.5rem}
.step-content p{color:var(--text-body);margin:0}
.faq-section{margin:0;scroll-margin-top:5rem}
.faq-accordion{margin-top:1.875rem}
.faq-item{background-color:#fff;border-radius:var(--border-radius-lg);margin-bottom:.9375rem;box-shadow:var(--shadow-md);overflow:hidden}
.faq-item:hover{box-shadow:var(--shadow-lg)}
.faq-question{padding:1.25rem 1.5625rem;background-color:white;color:var(--dark-blue);font-weight:600;cursor:pointer;position:relative;border-bottom:1px solid var(--border-color)}
.faq-question:after{content:'+';position:absolute;right:1.5625rem;top:50%;transform:translateY(-50%);color:var(--text-muted)}
.faq-item.active .faq-question:after{content:'−'}
.faq-answer{padding:0;max-height:0;overflow:hidden}
.faq-item.active .faq-answer{padding:1.25rem 1.5625rem;max-height:62.5rem}
.faq-answer p{margin:0;color:var(--text-body);line-height:1.6}
.faq-answer p strong{color:var(--dark-blue);font-weight:600}
.error,.success,.warning{padding:.875rem 1.125rem;border-radius:var(--border-radius);margin-top:1.7rem;margin-bottom:1.7rem;font-weight:500;box-shadow:var(--shadow-sm)}
.error{background-color:var(--error-bg);color:var(--error);border:1px solid var(--error-border)}
.error p{padding-top:0;margin-top:0}
.success{background-color:var(--success-bg);color:var(--success);border:1px solid var(--success-border)}
.warning{background-color:var(--warning-bg);color:var(--warning);border:1px solid var(--warning-border)}
table,.history-table{width:100%;border-collapse:separate;border-spacing:0;margin:1.5rem 0;box-shadow:var(--shadow);border-radius:var(--border-radius);overflow:hidden;background-color:#fff}
.history-table{border-collapse:collapse;margin-top:20px}
th,td,.history-table th,.history-table td{padding:1rem 1.125rem;text-align:left;border-bottom:1px solid var(--border-color)}
.history-table th,.history-table td{padding:12px 15px;border-bottom:1px solid #ddd}
th,.history-table th{background-color:var(--gray-lighter);font-weight:600;color:var(--text-dark);position:sticky;top:0;z-index:10}
.history-table th{background-color:#f5f5f5;font-weight:bold;color:#333}
tr:last-child td{border-bottom:none}
tr:hover td,.history-table tr:hover{background-color:#f1f5f980}
.history-table tr:hover{background-color:#f9f9f9}
.status-confirmed{color:#059669;font-weight:600}
.status-waiting{color:#d97706;font-weight:600}
.status-rac{color:var(--primary);font-weight:600}
.status-cancelled{color:#dc2626;font-weight:600}
.page-content{min-height:calc(100vh - 18.75rem);padding:2.5rem 0 0 0}
.page-section{margin-bottom:3.125rem}
.journey-details{display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1rem}
.journey-details-left,.journey-details-right{flex:1;min-width:17.5rem}
.journey-detail-item{background-color:#fff;padding:1.25rem;border-radius:var(--border-radius-lg);box-shadow:var(--shadow);margin-bottom:1rem}
.journey-detail-item h4{margin:0 0 .5rem;color:var(--text-muted);font-weight:500}
.journey-detail-item p{margin:0;font-weight:600;word-break:break-word}
.train-info{background-color:var(--primary-bg);padding:1.5rem;border-radius:var(--border-radius-lg);margin-bottom:1.875rem;box-shadow:var(--shadow)}
.train-name,.train-number{font-size:1.475rem;font-weight:600;margin-bottom:.3rem;color:var(--dark-blue);text-align:center}
.train-number{color:var(--text-muted);font-weight:600}
.journey-stations{display:flex;justify-content:space-between;align-items:center;margin:1rem 0}
.station{text-align:center;flex:1}
.station-name{font-weight:600;font-size:1.2rem}
.station-code{color:var(--text-muted);font-size:1rem}
.station-name-display{display:block;font-size:1.2rem;color:#666}
.journey-arrow{flex:2;height:2px;background-color:var(--primary);position:relative}
.journey-arrow::after{content:'';position:absolute;right:0;top:-4px;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:10px solid var(--primary)}
.action-buttons{display:flex;gap:1rem}
.btn-share,.btn-print{flex:1;padding:1rem;font-size:.9375rem;display:flex;align-items:center;justify-content:center}
.btn-share i,.btn-print i{margin-right:.5rem}
.pnr-status-types-section{margin:50px 0}
.pnr-status-types-section h2{text-align:center;margin-bottom:20px;color:var(--dark-blue)}
.pnr-status-types-section>p{text-align:center;max-width:800px;margin:0 auto 30px}
.status-types-grid,.transport-grid{display:grid;gap:20px}
.status-types-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.transport-grid{grid-template-columns:repeat(2,1fr);padding:20px 0}
.status-type-item,.transport-item{background-color:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 5px rgba(0,0,0,0.1)}
.status-type-item:hover,.transport-item:hover{box-shadow:0 5px 15px rgba(0,0,0,0.1)}
.status-type-item h3{color:#0056b3;margin-bottom:10px;font-size:18px}
.status-type-item p,.transport-item{color:#555;font-size:16px;line-height:1.5}
.transport-item a{color:#2563eb;text-decoration:none;font-weight:500}
.transport-item a:hover{color:#1d4ed8;text-decoration:underline}
.site-footer{background-color:var(--darker-blue);color:#e2e8f0;padding:3.125rem 0 1.875rem;margin-top:2.75rem}
.footer-container{max-width:1320px;margin:0 auto;padding:0 0.875rem;display:flex;flex-wrap:wrap;gap:2.5rem}
.footer-section{flex:1;min-width:15.625rem}
.footer-section:first-child{flex:2}
.footer-section h3{color:#fff;margin-bottom:1.25rem;font-size:1.125rem;position:relative;padding-bottom:.75rem}
.footer-section h3:after{content:'';position:absolute;left:0;bottom:0;width:3.125rem;height:2px;background-color:#60a5fa}
.footer-section ul{list-style:none;padding:0;margin:0}
.footer-section ul li{margin-bottom:.75rem}
.footer-section ul li a{color:#bfdbfe;text-decoration:none;padding-bottom:2px;position:relative}
.footer-section ul li a:hover{color:#fff}
.footer-section ul li a:after,.footer-bottom .footer-links a:after{content:'';position:absolute;width:0;height:1px;bottom:0;left:0;background-color:#fff}
.footer-section ul li a:hover:after,.footer-bottom .footer-links a:hover:after{width:100%}
.footer-bottom{max-width:1320px;margin:0 auto;padding:1.875rem 1.875rem 0;text-align:center;margin-top:1.725rem;border-top:1px solid #3b4f81;display:flex;flex-direction:column;gap:0.75rem}
.footer-bottom .footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem}
.footer-bottom .footer-links a{color:#bfdbfe;text-decoration:none;padding:0.25rem;position:relative}
.footer-bottom .footer-links a:hover{color:#fff}
.footer-bottom .copyright{font-size:0.875rem;color:#93c5fd;margin-bottom:0.5rem}
.footer-bottom .disclaimer{max-width:800px;margin:0 auto;text-align:center;font-size:0.875rem;color:#93c5fd;line-height:1.5}
.mobile-menu-toggle{display:none;flex-direction:column;cursor:pointer;background:transparent;border:none;padding:.625rem;z-index:1000}
.mobile-menu-toggle span{width:1.5rem;height:2px;background-color:#fff;margin-bottom:5px;border-radius:2px}
.mobile-menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.mobile-menu-toggle.active span:nth-child(2){opacity:0}
.mobile-menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
.header-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:nowrap}
.header-left{flex:1;display:flex;align-items:center}
.header-left h1{margin:0;line-height:1.2}
.header-right{display:flex;align-items:center}
.btn-back{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;background-color:#3498db;color:white;text-decoration:none;border-radius:4px;font-size:14px;height:20px}
.btn-back:hover{background-color:#2980b9;color:white;text-decoration:none}
.text-center{text-align:center}
.mb-0{margin-bottom:0}
.mb-1{margin-bottom:.25rem}
.mb-2{margin-bottom:.5rem}
.mb-3{margin-bottom:.75rem}
.mb-4{margin-bottom:1rem}
.mt-0{margin-top:0}
.mt-1{margin-top:.25rem}
.mt-2{margin-top:.5rem}
.mt-3{margin-top:.75rem}
.mt-4{margin-top:1rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
.seo-hidden{display:none}
.theme-toggle{background:transparent;border:none;color:#fff;cursor:pointer;padding:.5rem;margin-left:1rem;display:flex;align-items:center;justify-content:center}
.theme-toggle i{font-size:1.25rem}
.empty-history{text-align:center;padding:40px 0;color:#666}
.clear-history{text-align:right;margin-bottom:20px}
.clear-btn{background-color:#f44336;color:white;border:none;padding:8px 16px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;cursor:pointer;border-radius:4px}
.pnr-link{color:#4CAF50;text-decoration:none;font-weight:bold}
.pnr-link:hover{text-decoration:underline}


.station-info {position: relative;}



.tooltip{ position:relative; display:inline-block; cursor:help}
.tooltip .tooltiptext{visibility:hidden; width:auto; background-color:#333; color:#fff; text-align:center; border-radius:6px; padding:5px 8px; position:absolute; z-index:1000; bottom:112.5%;
  left:50%; transform:translateX(-50%); opacity:0; transition:opacity 0.3s; font-size:12px; line-height:1.3; white-space:nowrap}
.tooltip .tooltiptext::after{ content:""; position:absolute; top:100%; left:50%; margin-left:-5px; border-width:5px; border-style:solid; border-color:#333 transparent transparent transparent}
.tooltip:hover .tooltiptext{ visibility:visible; opacity:1}



.tooltip.tooltip-left .tooltiptext{bottom:auto;top:50%;left:auto;right:125%;transform:translateY(-50%)}
.tooltip.tooltip-left .tooltiptext::after{top:50%;left:100%;right:auto;margin-left:0;margin-top:-5px;border-color:transparent transparent transparent #333}
.breadcrumbs{display:flex;flex-wrap:wrap;padding:.75rem 0;margin-bottom:1.5rem;list-style:none;font-size:.875rem}
.breadcrumbs li{display:flex;align-items:center}
.breadcrumbs li a{color:var(--primary);text-decoration:none}
.breadcrumbs li a:hover{text-decoration:underline}
.breadcrumbs li+li:before{content:"/";margin:0 .5rem;color:var(--text-muted)}
.breadcrumbs li:last-child{color:var(--text-muted)}
.loading{display:inline-block;position:relative;width:80px;height:80px;margin:2rem auto}
.loading:after{content:" ";display:block;border-radius:50%;width:0;height:0;margin:8px;box-sizing:border-box;border:32px solid var(--primary);border-color:var(--primary) transparent}
[nonce]{display:none}
[dir="rtl"].main-menu li{margin-right:1.75rem;margin-left:0}
[dir="rtl"].step-number{margin-left:1.25rem;margin-right:0}
[dir="rtl"].faq-question:after{right:auto;left:1.5625rem}
[dir="rtl"].journey-arrow::after{right:auto;left:0;border-left:0;border-right:10px solid var(--primary)}
[dir="rtl"].footer-section h3:after{left:auto;right:0}
.cookie-banner{position:fixed;bottom:0;left:0;right:0;padding:1rem;background-color:#fff;box-shadow:0 -2px 10px #0000001a;z-index:1000;display:flex;align-items:center;justify-content:space-between}
.cookie-banner-text{flex:1;font-size:.875rem;margin-right:1rem}
.cookie-buttons{display:flex;gap:.5rem}
.cookie-btn{padding:.5rem 1rem;border-radius:var(--border-radius);font-size:.875rem;cursor:pointer}
.cookie-accept{background-color:var(--primary);color:#fff;border:none}
.cookie-decline{background-color:transparent;color:var(--text-dark);border:1px solid var(--border-color)}
.js-focus-visible:focus:not(.focus-visible){outline:none}
.js-focus-visible .focus-visible{outline:3px solid #3b82f680;outline-offset:2px}
.history-table{width:100%;border-collapse:collapse;margin-top:20px}
.history-table th,.history-table td{padding:12px 15px;text-align:left;border-bottom:1px solid #ddd}
.history-table th{background-color:#f5f5f5;font-weight:bold;color:#333}
.history-table tr:hover{background-color:#f9f9f9}
.empty-history{text-align:center;padding:40px 0;color:#666}
.clear-history{text-align:right;margin-bottom:20px}
.clear-btn{background-color:#f44336;color:white;border:none;padding:8px 16px;text-align:center;text-decoration:none;display:inline-block;font-size:14px;cursor:pointer;border-radius:4px}
.pnr-link{color:#4CAF50;text-decoration:none;font-weight:bold}
.pnr-link:hover{text-decoration:underline}
@media print{.site-header,.site-footer,.btn-print,.btn-share{display:none!important}body{background-color:#fff;font-size:12pt}.container,.history-container{max-width:1140px;padding:0 0.875rem;width:100%;margin:0 auto;box-sizing:border-box}.journey-detail-item,.train-info,.step,.feature-card{box-shadow:none;border:1px solid #ddd}h1,h2,h3{page-break-after:avoid}.page-content{padding:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#f1f1f1}
::-webkit-scrollbar-thumb{background:#b0b9c5;border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:#8d96a3}
@media(max-width:768px){body{font-size:16px}.container,.history-container{padding:0 1rem}h1{font-size:1.5rem;margin-bottom:1rem}h2{font-size:1.25rem;margin-bottom:1rem;padding-bottom:0.5rem}h3{font-size:1.125rem;margin-bottom:0.75rem}.footer-section h3{font-size:1rem}.step-content h3,.feature-card h3{font-size:1.125rem}.main-menu.active{padding-top:2rem}.main-menu.active li{margin:0.5rem 0;padding:0.5rem 0}.status-types-grid{gap:1rem}}
@media(min-width:768px){.tooltip:hover .tooltiptext{visibility:visible;opacity:1}}
@media(max-width:600px){.container, .history-container{padding:0 0.875rem}.page-content{padding:1.5rem 0 0 0}.journey-details{gap:1rem}.feature-card,.step,.pnr-search-box{padding:1rem}.train-name{font-size:1.2rem}.feature-card p,.step-content p{font-size:0.9375rem}.footer-section{flex:1 0 100%;margin-bottom:1.5rem}.footer-bottom{padding:1.25rem 1rem 0}.footer-bottom .footer-links{gap:1rem;flex-wrap:wrap;justify-content:space-between}}
@media(max-width:480px){body{font-size:15px}.btn-check-pnr{font-size:1rem;padding:0.75rem 1rem}.form-group label{font-size:0.9375rem}input[type="text"]{padding:0.625rem}.feature-card,.step,.pnr-search-box{padding:0.875rem}.status-type-item,.transport-item{padding:1rem;font-size:0.9375rem}.status-type-item h3{font-size:1rem;margin-bottom:0.5rem}.footer-section ul li{margin-bottom:0.5rem}.footer-bottom .disclaimer{font-size:0.75rem}.footer-section p{font-size:0.875rem}}


@media(max-width:767px){
  .tooltip{
    position:relative;
    display:inline-block;
    cursor:pointer;
    padding:2px 4px;
    margin:-2px -4px
  }
  
  .tooltip .tooltiptext{
    visibility:hidden;
    opacity:0;
    position:absolute;
    z-index:1000;
    bottom:calc(100% + 2px); /* Add some space above the element */
    left:0%; /* Move tooltip box to the left */
    transform:translateX(-30%); /* Move further left */
    width:auto;
    padding:8px;
    background-color:#333;
    color:#fff;
    border-radius:4px;
    text-align:center;
    font-size:11px;
    line-height:1.2;
    white-space:nowrap;
    transition:opacity .3s ease;
  }
  
  .tooltip .tooltiptext::after{
    content:"";
    position:absolute;
    top:100%;
    left:70%; /* Move arrow to the right */
    margin-left:-5px;
    border-width:5px;
    border-style:solid;
    border-color:#333 transparent transparent transparent;
  }
  
  .tooltip:active .tooltiptext,
  .tooltip:focus .tooltiptext{
    visibility:visible;
    opacity:1
  }
}