@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --orange: #e74c3c;
    --blue: #5779bc;
    --navy-blue: #2c3e50;
    --light-gray: #f7f8fc;
    --border-gray: #ddd;
    --text-gray: #839aa0;
    --green: #27ae60;
    --white: #ffffff;
    --bg-dark: #1a1a2e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--navy-blue);
    background: #f5f5f5;
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ========== HEADER ========== */
.tyt-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 12px 0;
}

.tyt-header .container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.tyt-header .logo img {
    width: 180px;
    height: auto;
}

.tyt-header .search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.tyt-header .search-box input {
    width: 100%;
    border: 1px solid var(--border-gray);
    border-radius: 25px;
    padding: 10px 40px 10px 18px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-gray);
    outline: none;
    transition: border-color 0.3s;
}

.tyt-header .search-box input:focus {
    border-color: var(--blue);
}

.tyt-header .search-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-gray);
}

.tyt-header .user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.tyt-header .user-actions a {
    color: var(--navy-blue);
    font-weight: 500;
}

.tyt-header .user-actions .google-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== NAV ========== */
.tyt-nav {
    background: var(--navy-blue);
    padding: 0;
}

.tyt-nav .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 15px;
}

.tyt-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.tyt-nav ul li a {
    display: block;
    padding: 10px 14px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.tyt-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.tyt-nav ul li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
    margin: 20px 0 10px;
    font-size: 12px;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.breadcrumbs ul li::after {
    content: '›';
    margin-left: 5px;
    color: var(--text-gray);
}

.breadcrumbs ul li:last-child::after {
    content: '';
}

.breadcrumbs ul li a {
    color: var(--text-gray);
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== WIDGET (SECTION BOX) ========== */
.widget {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
}

.widget h4 {
    font-weight: 400;
    font-size: 17px;
    color: var(--navy-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* ========== TIMER ========== */
.timer-box {
    position: fixed;
    top: 100px;
    right: 50px;
    z-index: 20;
    background: var(--orange);
    color: var(--white);
    font-size: 16px;
    width: 195px;
    border-radius: 3px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.timer-box .timer-icon {
    font-size: 18px;
}

.timer-box strong {
    font-size: 20px;
    font-weight: 500;
}

/* ========== STEPS ========== */
.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-item .step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    background: var(--white);
    position: relative;
    z-index: 2;
}

.step-item.active .step-circle,
.step-item.completed .step-circle {
    border-color: var(--orange);
    color: var(--orange);
}

.step-item .step-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-gray);
}

.step-item.active .step-label {
    color: var(--orange);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-gray);
    margin-top: -22px;
    z-index: 1;
}

.step-line.completed {
    background: var(--orange);
}

/* ========== FORM ELEMENTS ========== */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: var(--navy-blue);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--blue);
}

.form-group select {
    appearance: auto;
    cursor: pointer;
}

.form-group .info-bubble {
    border: solid 1px #000;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-weight: 100;
    font-size: 11px;
    padding: 0 3px;
    margin-left: 3px;
    cursor: help;
    display: inline-block;
    text-align: center;
    line-height: 14px;
}

/* ========== CHECKBOX ========== */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
    font-size: 13px;
}

.custom-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.custom-checkbox label {
    cursor: pointer;
    color: var(--navy-blue);
}

.custom-checkbox a {
    color: var(--blue);
    text-decoration: underline;
}

/* ========== BOTTOM BAR ========== */
.bottom-bar {
    background: var(--light-gray);
    border: solid 1px #000;
    border-radius: 10px;
    width: 1090px;
    height: 70px;
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 6px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

.bottom-bar .total-price {
    font-weight: bold;
}

.bottom-bar .total-price .label {
    color: var(--navy-blue);
}

.bottom-bar .total-price .amount {
    color: var(--orange);
    font-size: 15px;
    margin-left: 5px;
}

.bottom-bar .total-price .amount sup {
    font-size: 12px;
    top: -4px;
}

.btn-buy {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-buy:hover {
    background: #219a52;
}

.btn-buy:disabled {
    background: #999;
    cursor: not-allowed;
}

/* ========== 3D SECURE CHECKBOX ========== */
.secure-3d {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.secure-3d label {
    font-size: 13px;
    cursor: pointer;
}

/* ========== LOADING OVERLAY ========== */
.loading-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 1000000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    text-transform: uppercase;
    display: none;
}

.loading-overlay > div {
    box-shadow: rgba(0,0,0,0.3) 0 5px 15px;
    position: fixed;
    top: 50%;
    left: 50%;
    text-align: center;
    width: 600px;
    height: 80px;
    margin: -60px -300px;
    color: var(--navy-blue);
    background: white;
    padding-top: 32px;
    font-size: 14px;
}

/* ========== FOOTER ========== */
.tyt-footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 30px 0;
    margin-top: 80px;
}

.tyt-footer .container {
    text-align: center;
}

.tyt-footer p {
    font-size: 13px;
    opacity: 0.7;
}

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
}

.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.login-box {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    max-width: 750px;
    width: 100%;
    overflow: hidden;
}

.login-left {
    flex: 1;
    padding: 40px 35px;
}

.login-left h2 {
    color: var(--orange);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 25px;
}

.login-left .form-group {
    margin-bottom: 15px;
}

.login-left .form-group label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.login-left .form-group input {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 13px;
}

.login-options .remember {
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-options .forgot {
    color: var(--blue);
}

.btn-login {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #c0392b;
}

.login-footer-links {
    margin-top: 18px;
    font-size: 13px;
}

.login-footer-links a {
    color: var(--blue);
}

.login-footer-links .skip-link {
    color: var(--orange);
    font-weight: 500;
    display: inline-block;
    margin-top: 5px;
}

.login-right {
    flex: 1;
    padding: 40px 35px;
    background: #fafafa;
    border-left: 1px solid #eee;
}

.login-right h3 {
    color: var(--orange);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.login-right p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    background: var(--white);
    font-size: 13px;
    cursor: pointer;
    color: var(--navy-blue);
    transition: background 0.3s;
}

.btn-google:hover {
    background: #f5f5f5;
}

/* ========== WAITING / THANK YOU PAGES ========== */
.status-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-page .content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
}

.status-page h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.status-page .spinner {
    margin: 30px auto;
}

.status-page .tick {
    font-size: 80px;
    color: var(--green);
    margin-bottom: 20px;
}

.status-page .error-icon {
    font-size: 80px;
    color: var(--orange);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #466ba3;
    text-decoration: none;
    color: var(--white);
}

/* ========== SMS SERVICE ========== */
.sms-service {
    padding: 5px 0;
}

.sms-service .note {
    color: var(--blue);
    font-size: 13px;
    padding: 5px 0 0 27px;
    line-height: 1.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1120px) {
    .bottom-bar {
        width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .tyt-header .container {
        flex-direction: column;
        gap: 10px;
    }

    .tyt-header .search-box {
        margin: 0;
        max-width: 100%;
    }

    .tyt-nav ul {
        flex-wrap: wrap;
    }

    .login-box {
        flex-direction: column;
    }

    .login-right {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .form-row {
        flex-direction: column;
    }

    .steps-container {
        overflow-x: auto;
    }
}
