/* ============================================================
   style.css - Tiyatrolar.com.tr Checkout Page Stylesheet
   Cleaned & Consolidated from original files. ONLY used styles are kept.
   ============================================================ */

@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&subset=latin,latin-ext");

:root {
    --navy-blue: #071a52;
    --orange: #ff4646;
    --light-orange: #ff5a5f;
    --blue: #5779bc;
    --old-blue: #718b92;
    --bg-gray: #f2f3f8;
    --white: #ffffff;
    --text-color: #616161;
}

/* ===== General Reset & Body ===== */
* { box-sizing: border-box; }
body {
    background-color: var(--bg-gray);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    margin: 0;
    padding: 0;
}
a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
a:hover, a:focus {
    color: var(--light-orange);
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--navy-blue);
    font-weight: 300;
    margin: 0;
}
h2 {
    font-size: 24px;
    color: var(--orange);
    margin-bottom: 25px;
}
h4 {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Header Area ===== */
.fixed_container.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}
.header {
    background: #fff;
    height: 80px;
    padding: 20px 0;
}
.header .logo {
    display: block;
    float: left;
    width: 183px;
    height: 46px;
    text-indent: -9999px;
    background: url("../img/logo.png") center center no-repeat;
    background-size: 183px 46px;
    position: relative;
    top: -8px;
}
.new-logo-tyt {
    position: relative;
    top: -3px;
}
.new-logo-tyt img {
    height: 40px;
    width: auto;
}
.header .usercp {
    line-height: 26px;
    margin: 0;
    padding: 7px 0;
    display: inline-block;
    z-index: 102;
    position: relative;
}
.header .usercp > li {
    display: inline-block;
    padding: 0 5px 0 5px;
}
.header .usercp > li > a {
    display: block;
    color: var(--blue);
    padding: 2px 4px 2px 4px;
    text-transform: uppercase;
    font-size: 14px;
    min-width: 35px;
    text-align: center;
    z-index: 9;
    position: relative;
    transition: all 0.2s linear;
}
.header .usercp > li:hover > a {
    z-index: 13;
    background: #fff;
}

/* Search Form (Header) */
.searchform {
    width: 100%;
    margin-left: -20px;
}
.widget .searchform {
    width: 100%;
    margin-left: 0;
}
.fixed .searchform {
    width: 91%;
    margin-left: -7px;
}
.searchform fieldset {
    border-bottom: 2px solid var(--orange);
    position: relative;
    height: 40px;
}
.searchform fieldset .s {
    width: 100%;
    border: 0;
    height: 38px;
    padding: 0 40px 0 10px;
    background: #fff;
    color: rgba(113, 139, 146, 0.45);
    font-size: 18px;
    margin: 0;
}
.searchform fieldset .s::-webkit-input-placeholder { color: rgba(113, 139, 146, 0.45); }
.searchform fieldset .s:-moz-placeholder { color: rgba(113, 139, 146, 0.45); }
.searchform fieldset .s::-moz-placeholder { color: rgba(113, 139, 146, 0.45); }
.searchform fieldset .s:-ms-input-placeholder { color: rgba(113, 139, 146, 0.45); }
.searchform fieldset input[type="submit"] {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    top: 0;
    right: 0;
    text-indent: -9999px;
    background: transparent url('../img/icons-s48d7f42451.png') 10px -5071px no-repeat;
    cursor: pointer;
}


/* Navigation Bar */
.nav-v4 {
    background: var(--navy-blue);
    border-bottom: 2px solid #010304;
}
.nav-v4 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.nav-v4 ul li {
    border-right: 1px solid #1a2736;
}
.nav-v4 ul li a {
    display: block;
    padding: 0 15px;
    line-height: 38px;
    color: #e1e3e5;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}
.nav-v4 ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.header-space {
    height: 10px;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    padding: 0;
    margin-bottom: 30px;
}
.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumbs ul li {
    display: inline-block;
    position: relative;
    padding-left: 10px;
    margin-right: 5px;
    color: var(--navy-blue);
    font-size: 13px;
}
.breadcrumbs ul li a {
    color: var(--old-blue);
}
.breadcrumbs ul li a:hover {
    color: var(--navy-blue);
}
.breadcrumbs ul li+li:before {
    content: "›";
    padding: 0 8px 0 0;
    color: #ccc;
    font-size: 14px;
}
.breadcrumbs ul li:first-child {
    padding-left: 0;
}
.breadcrumbs ul li:first-child:before {
    display: none;
}
.breadcrumbs ul li:last-child {
    color: var(--navy-blue);
    font-weight: 500;
}

/* ===== Red Timer Box ===== */
.redtime {
    display: block !important;
    background: var(--orange);
    color: #fff;
    font-size: 15px !important;
    width: 195px;
    border-radius: 12px !important;
    padding: 5px;
    position: absolute;
    right: 15px;
    top: -5px;
    z-index: 20;
    text-align: center;
}
.redtime.fixed {
    position: fixed;
    top: 125px;
    width: 195px;
}
.redtime strong {
    font-size: 17px !important;
    font-weight: 500;
}
.icon-clock:before {
    content: "\f017";
    font-family: FontAwesome;
    margin-right: 5px;
}

/* ===== Widgets (Cards) ===== */
.widget {
    background: var(--white);
    border-radius: 12px !important;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
}

/* ===== Progress Steps ===== */
.steps {
    font-size: 16px;
    margin: -5px 0px 60px 40px;
    padding: 10px;
    width: 100%;
    height: 40px;
}
.step {
    cursor: pointer;
    float: left;
    width: 40px;
    height: 25px;
    border-bottom: solid 2px #CCC;
}
.step span {
    color: #839aa0;
    display: inline-block;
    padding: 10px 0px 0px 15.5px;
    width: 45px;
    height: 45px;
    border: solid 2px #CCC;
    background: white;
    float: right;
    border-radius: 25px;
}
.step span > strong {
    text-align: center;
    font-weight: 400;
    margin: 25px 0px 0px -65px;
    display: inline-block;
    width: 145px;
    height: 25px;
    font-size: 13px;
}
.step-left {
    width: 300px;
}
.step-ok, .step-ok span {
    border-color: var(--orange) !important;
    color: var(--orange) !important;
}
.step-back {
    position: absolute;
    width: 160px;
    height: 75px;
    background: white;
    border-radius: 12px !important;
    border: solid 1px var(--old-blue);
    cursor: pointer;
    padding: 10px 10px 10px 25px;
    text-align: center;
    font-size: 13px;
    left: 455px;
    top: 49px;
    color: var(--navy-blue);
}

/* ===== Buttons ===== */
.button {
    display: inline-block;
    border-radius: 12px !important;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s;
}
.button.green {
    background-color: #27ae60;
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.button.green:hover {
    background-color: #34cb74 !important;
}
.ticket-cancel4 {
    color: #b6c3c7;
    min-width: 150px;
    height: 32px;
    border-radius: 12px !important;
    border: solid 1px #b6c3c7;
    background: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.ticket-cancel4:hover {
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

/* ===== Tables ===== */
.ticket-table {
    width: 100%;
    border-collapse: collapse;
    border-bottom: solid 1px #ddd;
    border-radius: 12px !important;
    overflow: hidden;
}
.ticket-table thead th {
    background: #fdfdfd;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--old-blue);
    text-transform: uppercase;
    border-bottom: 2px solid #e0e0e0;
}
.ticket-table tbody td {
    padding: 12px 10px;
    font-size: 13px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}
.ticket-table tbody tr:hover {
    background-color: #f9efed;
}
.ticket-table > tbody > tr {
    margin-top: 15px !important;
}
.ticket-table button {
    background-color: white;
    border: solid 1px var(--blue);
    color: var(--blue);
    width: 90px;
    height: 30px;
    font-size: 12px;
    font-weight: bold;
}
.ticket-table button:hover,
.ticket-table tr.selected button {
    background-color: white;
    border: solid 1px var(--orange);
    color: var(--orange);
}
.ticket-table sup {
    top: -0.3em;
    font-size: 10px;
}
.ticket-table tbody tr td > a {
    display: inline;
    color: var(--navy-blue);
    font-weight: 500;
}
.ticket-table tbody tr td > a:hover {
    color: var(--orange);
}
.ticket-table img {
    vertical-align: middle;
    margin-right: 10px;
}

/* Helper Text Classes */
.ultramarine {
    color: var(--navy-blue) !important;
}
.gray {
    color: var(--old-blue) !important;
}
.red {
    color: var(--orange) !important;
}
.strong {
    font-weight: 600;
}
.blue {
    color: var(--blue) !important;
}

/* ===== Form Controls ===== */
form label, label {
    display: block;
    font-size: 14px;
    color: var(--navy-blue);
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: normal;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    height: 34px;
    border: 1px solid #e6e6e6;
    border-radius: 12px !important;
    padding: 5px 7px;
    color: var(--navy-blue);
    font-size: 14px;
    outline: none;
    background-color: #f3f2f2;
    margin-bottom: 25px;
    line-height: 24px;
    transition: border-color 0.2s, background-color 0.2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    border-color: var(--orange);
    background-color: #fff;
}
input.error, select.error {
    border-color: #e74c3c !important;
    background: #fef2f2 !important;
}
select {
    width: 100%;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 12px !important;
    padding: 0 12px;
    color: #555;
    font-size: 13px;
    outline: none;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%23777" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 8px center;
    background-size: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
select:focus {
    border-color: var(--orange);
}

/* Custom check & label */
.custom_check {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}
.custom_check + .custom_label {
    display: block !important;
    float: left;
    margin: 3px;
    padding: 3px 0 0 30px;
    min-height: 16px;
    line-height: 16px;
    position: relative;
    text-transform: none;
    cursor: pointer;
    user-select: none;
    color: var(--navy-blue);
    font-size: 13px;
    font-weight: 400;
}
.custom_check + .custom_label:before {
    content: "";
    display: block;
    width: 20px;
    height: 19px;
    position: absolute;
    top: 0;
    left: 0;
    background: #f3f2f2;
    border: 1px solid #e6e6e6;
    border-radius: 50% !important;
    transition: all 0.2s;
}
.custom_check:checked + .custom_label:before {
    background: var(--orange) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 24 24" width="24" height="24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') center center no-repeat;
    background-size: 12px;
    border: none;
}

.radio-inline {
    display: block;
    margin-bottom: 8px;
}

/* Info Bubble */
.info-bubble {
    color: var(--blue);
    cursor: help;
    margin-left: 4px;
    font-size: 13px;
    vertical-align: middle;
}
.info-bubble:hover {
    color: var(--orange);
}

/* ===== Card Type Badge ===== */
#cardTypeBadge {
    margin-top: 6px;
    min-height: 22px;
}
.card-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
}
.card-type-badge.visa { background: #1a1f71; }
.card-type-badge.mastercard { background: #eb001b; }
.card-type-badge.troy { background: #00a651; }

/* ===== Alert Banner (Top Fixed) ===== */
#alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}
#alert .middle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    min-height: 50px;
    position: relative;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
#alert.red .middle {
    background-color: #e74c3c;
    color: #fff;
}
#alert.green .middle {
    background-color: #27ae60;
    color: #fff;
}
#alert .middle .icon {
    margin-right: 10px;
    font-size: 18px;
}
#alert .middle .text {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}
#alert .middle .close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-weight: 700;
    opacity: 0.8;
}
#alert .middle .close:hover {
    opacity: 1;
}

/* ===== Loading Overlay ===== */
.loading2 {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loading2 > div {
    background: #fff;
    padding: 25px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    max-width: 90%;
}

/* ===== Bottom Payment Bar ===== */
.lay4BtnFixedBox {
    background: #f7f8fc;
    border: solid 1px #000;
    border-radius: 10px;
    width: 1090px;
    height: 70px;
    position: fixed;
    bottom: 12px;
    top: auto;
    margin-right: -15px;
    z-index: 10;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}
.lay4BtnFixedBox .green {
    margin: 16.5px;
    float: right;
}
.lay4BtnFixedBox .ultramarine {
    font-size: 14px;
    font-weight: 700;
}
#totalAmount {
    font-size: 18px;
    margin-left: 5px;
}

/* ===== Simplified Footer ===== */
.footer {
    background: var(--white);
    padding: 40px 0 20px;
    border-top: 1px solid #eaeaea;
}
.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}
.footer-logo img {
    height: 45px;
}
.footer h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
}
.footer p {
    font-size: 13px;
    color: var(--old-blue);
    margin: 0 0 10px;
    line-height: 1.6;
}
.footer p a {
    color: var(--old-blue);
}
.footer p a:hover {
    color: var(--orange);
}
.footer-social {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f2f3f8;
    display: flex;
    gap: 20px;
}
.footer-social a {
    color: var(--old-blue);
    font-size: 18px;
}
.footer-social a:hover {
    color: var(--orange);
}
.footer-bottom {
    background: #172434;
    padding: 20px 0;
    color: #8c9ba5;
    font-size: 12px;
}
.footer-bottom p {
    margin: 0;
}

/* ===== Email Entry Page (index.php) ===== */
.email-entry-widget {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}
.email-entry-widget .widget-header {
    background: #fdfdfd;
    padding: 20px 25px;
    border-bottom: 1px solid #f2f3f8;
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-blue);
}
.email-entry-widget .widget-body {
    padding: 30px 25px;
}
.email-entry-widget label {
    margin-bottom: 6px;
}
.email-entry-widget input[type="email"] {
    margin-bottom: 20px;
}
.email-entry-widget .btn-submit {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.email-entry-widget .btn-submit:hover {
    background: var(--light-orange);
}
.email-entry-widget .error-box {
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
}
