/* TRACK APPLICATION PAGE - NEW DESIGN (scoped with ta- prefix) */

/* Hero Section */
.ta-hero {
    position: relative;
    background: linear-gradient(rgba(139, 26, 26, 0.6), rgba(107, 20, 20, 0.7)),
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600&h=600&fit=crop') center/cover no-repeat fixed;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}
.ta-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.3) 0%, transparent 50%, rgba(107, 20, 20, 0.3) 100%);
}
.ta-hero-content {
    position: relative;
    z-index: 2;
    animation: taFadeInUp 1s ease;
}
.ta-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}
.ta-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}
.ta-hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.3));
    margin: 25px auto 0;
    border-radius: 2px;
}

/* Breadcrumb */
.ta-breadcrumb-section {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: 'Poppins', sans-serif;
}
.ta-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}
.ta-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
}
.ta-breadcrumb li a {
    color: #8B1A1A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.ta-breadcrumb li a:hover { color: #A52A2A; }
.ta-breadcrumb li:not(:last-child)::after { content: '/'; color: #ccc; }
.ta-breadcrumb li.ta-active { color: #555; font-weight: 500; }

/* Track Section */
.ta-track-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    font-family: 'Poppins', sans-serif;
}
.ta-track-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.ta-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.ta-section-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B1A1A, #A52A2A, #6B1414);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.ta-title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8B1A1A, #A52A2A);
    margin: 0 auto;
    border-radius: 2px;
}
.ta-track-description {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Form Card */
.ta-form-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(139, 26, 26, 0.08), 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(139, 26, 26, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ta-form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 70px rgba(139, 26, 26, 0.12), 0 8px 25px rgba(0,0,0,0.07);
}
.ta-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8B1A1A, #A52A2A, #6B1414);
}
.ta-form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.08), rgba(165, 42, 42, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
}
.ta-form-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.ta-form-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 35px;
}
.ta-form-group {
    margin-bottom: 25px;
}
.ta-form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}
.ta-form-label span { color: #8B1A1A; }
.ta-form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    color: #333;
    transition: all 0.3s ease;
    background: #fafafa;
}
.ta-form-input:focus {
    outline: none;
    border-color: #8B1A1A;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 26, 26, 0.08);
}
.ta-form-input::placeholder { color: #aaa; }
.ta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Submit Button */
.ta-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #8B1A1A, #A52A2A);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}
.ta-submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.ta-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 26, 26, 0.35);
}
.ta-submit-btn:hover::before { left: 100%; }
.ta-submit-btn:active { transform: translateY(0); }
.ta-submit-btn svg { width: 20px; height: 20px; }

/* Result Section */
.ta-result-section {
    margin-top: 40px;
    display: none;
    animation: taFadeInUp 0.6s ease;
}
.ta-result-section.ta-active { display: block; }
.ta-result-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border-left: 5px solid #8B1A1A;
}
.ta-result-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.ta-result-status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.ta-result-status-icon.ta-pending { background: rgba(255, 193, 7, 0.1); }
.ta-result-status-icon.ta-approved { background: rgba(40, 167, 69, 0.1); }
.ta-result-status-icon.ta-rejected { background: rgba(220, 53, 69, 0.1); }
.ta-result-status-text h3 { font-size: 1.1rem; font-weight: 600; color: #333; }
.ta-result-status-text p { font-size: 0.85rem; color: #888; }
.ta-result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.ta-result-item {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
}
.ta-result-item-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 4px;
}
.ta-result-item-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

/* Loader */
.ta-result-section .loader {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.ta-result-section .loader img {
    margin: 0 auto;
    width: 50px;
}

/* Not Found Alert */
.ta-result-section .notfound .alert {
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 0.9rem;
    border: none;
    font-family: 'Poppins', sans-serif;
}

/* Info Cards Section */
.ta-info-section {
    padding: 60px 0 80px;
    background: white;
    font-family: 'Poppins', sans-serif;
}
.ta-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.ta-info-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: #f8f9fa;
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ta-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 26, 26, 0.1);
    border-color: rgba(139, 26, 26, 0.15);
}
.ta-info-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.08), rgba(165, 42, 42, 0.04));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}
.ta-info-card:hover .ta-info-card-icon { transform: scale(1.1); }
.ta-info-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.ta-info-card-text {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.7;
}

/* Back to Home */
.ta-back-home-section {
    text-align: center;
    padding: 0 0 60px;
    background: white;
    font-family: 'Poppins', sans-serif;
}
.ta-back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: transparent;
    color: #8B1A1A;
    border: 2px solid #8B1A1A;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ta-back-home-btn:hover {
    background: #8B1A1A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 26, 26, 0.25);
}
.ta-back-home-btn svg { width: 18px; height: 18px; }

/* Animations */
@keyframes taFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes taFadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .ta-info-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .ta-hero-title { font-size: 2.2rem; }
    .ta-hero-subtitle { font-size: 1rem; }
    .ta-hero { padding: 70px 0; background-attachment: scroll; }
    .ta-form-card { padding: 35px 25px; }
    .ta-form-row { grid-template-columns: 1fr; }
    .ta-result-details { grid-template-columns: 1fr; }
    .ta-section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .ta-hero-title { font-size: 1.8rem; }
    .ta-form-card { padding: 30px 20px; border-radius: 15px; }
    .ta-track-section { padding: 50px 0; }
}
