/* Servis Takip Sayfası */
.service-tracking-page {
    min-height: calc(100vh - 400px);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 12px 0;
}

.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 0;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.95;
}

.tracking-section {
    max-width: 900px;
    margin: 0 auto;
}

.tracking-form-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.tracking-form-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
}

.form-description {
    color: #718096;
    margin-bottom: 30px;
    font-size: 15px;
}

.tracking-form .form-group {
    margin-bottom: 25px;
}

.tracking-form label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 15px;
}

.tracking-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tracking-form .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.tracking-form .btn-block {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    margin-top: 10px;
}

/* Service tracking page specific - remove glow animation */
.service-tracking-page .btn-primary {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    overflow: hidden;
    z-index: 1;
}

.service-tracking-page .btn-primary::before {
    display: none;
}

.service-tracking-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.alert i {
    font-size: 20px;
}

.alert-error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.alert-info {
    background: #ebf8ff;
    color: #2c5282;
    border: 1px solid #bee3f8;
}

.alert-success {
    background: #f0fff4;
    color: #276749;
    border: 1px solid #9ae6b4;
}

.alert-warning {
    background: #fffaf0;
    color: #c05621;
    border: 1px solid #fbd38d;
}

/* Sonuç Kartı */
.tracking-result-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.result-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: fit-content;
    margin: 0 auto;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-icon {
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.status-text {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-align: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.status-warning {
    background: #fff8e1;
    color: #f57c00;
    border: 2px solid #ffc107;
}

.status-info {
    background: #e3f2fd;
    color: #1976d2;
    border: 2px solid #2196f3;
}

.status-secondary {
    background: #f5f5f5;
    color: #616161;
    border: 2px solid #9e9e9e;
}

.status-success {
    background: #e8f5e9;
    color: #388e3c;
    border: 2px solid #4caf50;
}

.status-danger {
    background: #ffebee;
    color: #c62828;
    border: 2px solid #f44336;
}

.status-dark {
    background: #424242;
    color: white;
    border: 2px solid #616161;
}

.status-primary {
    background: #e3f2fd;
    color: #1565c0;
    border: 2px solid #2196f3;
}

.result-body {
    padding: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 17px;
    color: #2d3748;
    font-weight: 600;
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.warranty-yes {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.warranty-no {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.info-section {
    padding: 25px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 20px;
}

.info-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.info-section p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

.contact-info {
    padding-top: 25px;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4a5568;
    font-size: 16px;
}

.contact-item i {
    color: #667eea;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

.btn-whatsapp,
.btn-google,
.btn-maps {
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-google {
    background: #4285F4;
}

.btn-google:hover {
    background: #3367D6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-maps {
    background: #EA4335;
}

.btn-maps:hover {
    background: #C5221F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.3);
}

/* Timeline Stilleri */
.status-timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-dot.status-primary { background: #007bff; }
.timeline-dot.status-success { background: #28a745; }
.timeline-dot.status-warning { background: #ffc107; }
.timeline-dot.status-danger { background: #dc3545; }
.timeline-dot.status-secondary { background: #6c757d; }
.timeline-dot.status-dark { background: #343a40; }

.timeline-content {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
}

.timeline-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.timeline-status .status-icon {
    font-size: 16px;
}

.timeline-status strong {
    color: #2d3748;
    font-size: 16px;
}

.timeline-date {
    color: #718096;
    font-size: 13px;
    margin-bottom: 8px;
}

.timeline-note {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    background: #f7fafc;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

/* Status Filter Section */
.status-filter-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    animation: slideUp 0.4s ease;
}

.status-filter-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.status-filter-section p {
    color: #718096;
    margin-bottom: 25px;
    font-size: 15px;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.status-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    user-select: none;
    pointer-events: auto;
    z-index: 1;
    display: block;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.status-card:hover::before {
    transform: scaleX(1);
}

.status-card.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.status-card.active::before {
    transform: scaleX(1);
    background: rgba(255, 255, 255, 0.3);
}

.status-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.status-count {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 500;
}

.status-card.active .status-count {
    opacity: 0.9;
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-actions .btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-actions .btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #4a5568;
}

.filter-actions .btn-outline:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.filter-info {
    text-align: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

/* Status Card Animations */
@keyframes cardPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.status-card.clicked {
    animation: cardPulse 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .service-tracking-page { padding: 10px 0; }
    .page-hero { padding: 14px 0; margin-bottom: 12px; }
    .page-hero h1 { font-size: 32px; }
    .page-hero p { font-size: 16px; }

    .tracking-form-card { padding: 22px; }

    .tracking-form-card h2 {
        font-size: 24px;
    }

    .status-filter-section {
        padding: 20px;
    }

    .status-filter-section h3 {
        font-size: 20px;
    }

    .status-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: center;
    }

    .status-card {
        padding: 15px 10px;
        width: 100%;
        max-width: 150px;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .status-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .status-text {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 6px;
        line-height: 1.2;
        min-height: 14px;
    }

    .status-count {
        font-size: 11px;
        opacity: 0.7;
        font-weight: 500;
        line-height: 1.2;
        min-height: 13px;
    }


    .status-count {
        font-size: 10px;
    }

    .filter-actions {
        flex-direction: column;
        align-items: center;
    }

    .filter-actions .btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .result-header {
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .result-header h2 {
        font-size: 22px;
        margin: 0;
        text-align: center;
    }

    .status-badge {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 100%;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .status-icon {
        font-size: 20px;
    }
    
    .status-text {
        font-size: 14px;
    }

    .result-body {
        padding: 25px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: stretch;
    }

    .info-item {
        width: 100%;
        text-align: center;
        padding: 12px 10px;
        background: #f8fafc;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        min-height: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .info-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .info-value {
        font-size: 16px;
        font-weight: 700;
    }
    
    .warranty-badge {
        font-size: 13px;
        padding: 5px 10px;
    }

    .contact-details {
        gap: 12px;
    }
    
    .contact-item {
        font-size: 14px;
        gap: 10px;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-whatsapp,
    .btn-google,
    .btn-maps {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .status-timeline {
        padding-left: 25px;
        margin-top: 15px;
    }
    
    .timeline-dot {
        left: -18px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content {
        padding: 12px 15px;
        margin-left: 5px;
    }

    .timeline-status {
        justify-content: center;
        margin-bottom: 10px;
    }

    .timeline-date {
        text-align: center;
        margin-bottom: 10px;
    }

    .timeline-note {
        text-align: center;
        font-size: 13px;
    }
}

/* 480px altı için ek düzenlemeler */
@media (max-width: 480px) {
    .status-cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .status-card {
        padding: 12px 8px;
        min-height: 110px;
        max-width: 140px;
    }

    .status-icon {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .status-text {
        font-size: 11px;
        margin-bottom: 4px;
        min-height: 13px;
    }

    .status-count {
        font-size: 10px;
        min-height: 12px;
    }

    .info-grid {
        gap: 10px;
    }

    .info-item {
        padding: 10px 8px;
        min-height: 65px;
    }

    .info-label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .info-value {
        font-size: 14px;
    }
}

/* Cihaz Resimleri Stilleri */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.device-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}

.image-overlay span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Resim Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.image-modal-close:hover {
    color: #ff6b6b;
}

.image-modal-actions {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.image-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.image-modal-info {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 500;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .device-image {
        height: 100px;
    }
    
    .image-modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
    
    .image-modal-actions {
        bottom: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .image-modal-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .image-modal-info {
        top: 15px;
        left: 20px;
        font-size: 12px;
        padding: 8px 16px;
    }
}

