/* Extracted page styles. Keep this file loaded after page/library CSS so moved rules retain their original priority. */

/* Shared utility styles extracted from static inline attributes. */
.status-icon-lg {
    font-size: 4rem;
}

.auth-avatar-lg {
    width: 80px;
    height: 80px;
}

.verification-code-input {
    font-size: 1.2em;
    letter-spacing: 0.5em;
}

.notifications-layer {
    z-index: 3000 !important;
}

.notifications-page {
    direction: rtl;
}

.notification-type-strip {
    width: 5px;
    border-radius: 4px;
}

.notification-content {
    margin-right: 12px;
}

.notification-time {
    font-size: 0.75rem;
}

.notification-action-slot {
    width: 40px;
}

.news-card-image {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

.header-spacer-sm {
    width: 24px;
}

.header-spacer-md {
    width: 36px;
}

.alert-icon-box {
    width: 48px;
    height: 48px;
}

.device-data-content {
    margin-right: 15px;
}

.data-clock-icon {
    font-size: 0.8rem;
}

.data-time-text {
    margin-right: 5px;
}

.map-location-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-form-card {
    padding: 20px;
}

.plan-field-hint {
    margin-bottom: 24px;
}

body.page-device-details .device-details-map {
    height: calc(100vh - 55px);
}

body.page-device-details .device-name-badge {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

body.page-device-details .response-log {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.3);
}

.switch-scale-lg {
    transform: scale(1.5);
}

.monitoring-alert {
    background-color: #fff8e1;
}

.settings-image-preview {
    position: absolute;
    bottom: 40px;
    left: 15px;
    z-index: 1000;
    width: 200px;
}

.settings-preview-image {
    max-width: 100%;
}

.ltr-input {
    direction: ltr;
}

.device-type-color-general {
    --device-color: #6c757d;
}

.device-type-color-car {
    --device-color: #007bff;
}

.device-type-color-truck {
    --device-color: #28a745;
}

.device-type-color-motorcycle {
    --device-color: #dc3545;
}

.device-type-color-bicycle {
    --device-color: #17a2b8;
}

.device-type-color-pet {
    --device-color: #fd7e14;
}

.device-type-color-ship {
    --device-color: #20c997;
}

.device-type-color-airplane {
    --device-color: #6f42c1;
}

.device-type-color-bus,
.device-type-color-taxi {
    --device-color: #ffc107;
}

.device-type-color-ambulance,
.device-type-color-firetruck {
    --device-color: #dc3545;
}

.device-type-color-police {
    --device-color: #007bff;
}

.device-type-color-agricultural {
    --device-color: #28a745;
}

.device-type-color-construction {
    --device-color: #fd7e14;
}

.device-type-color-person {
    --device-color: #6c757d;
}

.device-type-icon[class*="device-type-color-"] {
    color: var(--device-color);
}

body.page-device-details .custom-device-marker {
    width: 40px;
    height: 40px;
    background-color: var(--device-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    position: relative;
}

body.page-device-details .custom-device-marker::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--device-color);
}

body.page-device-details .tracker-popup {
    text-align: center;
}

body.page-device-details .tracker-popup-icon {
    color: var(--device-color);
    font-size: 24px;
    margin-bottom: 8px;
}

.app-header-icon-preview {
    max-height: 84px;
    width: auto;
}

.announcement-image-column {
    width: 80px;
}

.object-cover {
    object-fit: cover;
}

.announcement-image-placeholder {
    width: 50px;
    height: 50px;
}

.announcement-message-preview {
    max-width: 300px;
}

.fcm-error-cell {
    max-width: 260px;
}

.test-log {
    height: 150px;
    overflow-y: auto;
    font-family: monospace;
}

.profile-image-lg {
    max-width: 150px;
}

.profile-image-md {
    max-width: 120px;
}

.profile-thumbnail-lg {
    max-height: 150px;
}

.map-h-300 {
    height: 300px;
}

.map-h-400 {
    height: 400px;
}

.map-h-600 {
    height: 600px;
}

.map-popup-width {
    width: 250px;
}

.progress-thin {
    height: 5px;
}

.map-marker-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.map-marker-dot-spaced {
    margin-left: 5px;
}

.map-marker-pin {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.map-marker-color-0 { background-color: #FF5733; }
.map-marker-color-1 { background-color: #33FF57; }
.map-marker-color-2 { background-color: #3357FF; }
.map-marker-color-3 { background-color: #FF33A8; }
.map-marker-color-4 { background-color: #33FFF5; }
.map-marker-color-5 { background-color: #FF8033; }
.map-marker-color-6 { background-color: #8033FF; }
.map-marker-color-7 { background-color: #33FF80; }
.map-marker-color-8 { background-color: #FF3333; }
.map-marker-color-9 { background-color: #33FFFF; }

/* NovinWebTracker/Views/Account/AccessDenied.cshtml */
body.page-account-accessdenied .access-denied-icon {
        animation: shake 0.5s ease-in-out;
    }

    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
    }


/* NovinWebTracker/Views/Account/ForgotPasswordConfirmation.cshtml */
body.page-account-forgotpasswordconfirmation .success-icon {
        animation: bounceIn 0.6s ease-out;
    }

    @keyframes bounceIn {
        0% {
            opacity: 0;
            transform: scale(0.3);
        }
        50% {
            opacity: 1;
            transform: scale(1.05);
        }
        70% {
            transform: scale(0.9);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }


/* NovinWebTracker/Views/Account/Lockscreen.cshtml */
body.page-account-lockscreen .lock-user {
        position: relative;
    }

    body.page-account-lockscreen .user-avatar {
        position: relative;
        display: inline-block;
    }

    body.page-account-lockscreen .lock-icon {
        position: absolute;
        bottom: -5px;
        right: -5px;
        background: #dc3545;
        color: white;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        border: 2px solid white;
    }


/* NovinWebTracker/Views/Account/Login.cshtml */
body.page-account-login .auth-app-download {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
        border: 1px solid rgba(13, 110, 253, .16);
        background: linear-gradient(135deg, rgba(13, 110, 253, .08), rgba(25, 135, 84, .08));
        border-radius: 14px;
        direction: rtl;
    }

    body.page-account-login .auth-app-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e8f7ef;
        color: #198754;
        font-size: 22px;
        flex: 0 0 auto;
    }

    body.page-account-login .auth-app-text {
        flex: 1;
        min-width: 0;
        text-align: right;
    }

    body.page-account-login .auth-app-text strong,
    body.page-account-login .auth-app-text span {
        display: block;
    }

    body.page-account-login .auth-app-text strong {
        font-size: 13px;
        color: #1f2937;
        margin-bottom: 2px;
    }

    body.page-account-login .auth-app-text span {
        font-size: 11px;
        color: #6b7280;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.page-account-login .auth-app-link {
        min-height: 34px;
        padding: 0 14px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #0d6efd;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
        flex: 0 0 auto;
    }

    body.page-account-login .auth-app-link:hover {
        color: #fff;
        background: #0b5ed7;
    }


/* NovinWebTracker/Views/Account/Register.cshtml */
body.page-account-register .auth-app-download {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
        border: 1px solid rgba(13, 110, 253, .16);
        background: linear-gradient(135deg, rgba(13, 110, 253, .08), rgba(25, 135, 84, .08));
        border-radius: 14px;
        direction: rtl;
    }

    body.page-account-register .auth-app-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e8f7ef;
        color: #198754;
        font-size: 22px;
        flex: 0 0 auto;
    }

    body.page-account-register .auth-app-text {
        flex: 1;
        min-width: 0;
        text-align: right;
    }

    body.page-account-register .auth-app-text strong,
    body.page-account-register .auth-app-text span {
        display: block;
    }

    body.page-account-register .auth-app-text strong {
        font-size: 13px;
        color: #1f2937;
        margin-bottom: 2px;
    }

    body.page-account-register .auth-app-text span {
        font-size: 11px;
        color: #6b7280;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.page-account-register .auth-app-link {
        min-height: 34px;
        padding: 0 14px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #0d6efd;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
        flex: 0 0 auto;
    }

    body.page-account-register .auth-app-link:hover {
        color: #fff;
        background: #0b5ed7;
    }


/* NovinWebTracker/Views/Account/ResetPassword.cshtml */
body.page-account-resetpassword .strength-meter {
        height: 4px;
        background-color: #e9ecef;
        border-radius: 2px;
        overflow: hidden;
    }

    body.page-account-resetpassword .strength-bar {
        height: 100%;
        transition: all 0.3s ease;
        width: 0%;
    }

        body.page-account-resetpassword .strength-bar.weak {
            background-color: #dc3545;
        }

        body.page-account-resetpassword .strength-bar.medium {
            background-color: #ffc107;
        }

        body.page-account-resetpassword .strength-bar.strong {
            background-color: #28a745;
        }

    body.page-account-resetpassword .strength-text {
        font-size: 0.75rem;
        color: #6c757d;
    }


/* NovinWebTracker/Views/Account/ResetPasswordConfirmation.cshtml */
body.page-account-resetpasswordconfirmation .success-animation {
        animation: successPulse 2s ease-in-out infinite;
    }

    @keyframes successPulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.1);
            opacity: 0.8;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }


/* NovinWebTracker/Views/AppDownload/Index.cshtml */
body.page-appdownload-index .download-page {
        min-height: 100vh;
        min-height: 100svh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #1f2937;
        padding: 46px 16px;
        direction: rtl;
    }

    body.page-appdownload-index .download-shell {
        max-width: 1120px;
        margin: 0 auto;
    }

    body.page-appdownload-index .download-hero {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
        gap: 0;
        align-items: center;
        overflow: hidden;
        min-height: min(720px, calc(100vh - 92px));
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 24px 70px rgba(39, 48, 102, 0.24);
        backdrop-filter: blur(10px);
    }

    body.page-appdownload-index .download-copy {
        padding: 54px 58px;
    }

    body.page-appdownload-index .download-eyebrow {
        display: inline-flex;
        color: #667eea;
        border: 1px solid rgba(102, 126, 234, .22);
        background: rgba(102, 126, 234, .08);
        padding: 6px 12px;
        border-radius: 999px;
        margin-bottom: 18px;
        font-size: 13px;
        font-weight: 800;
    }

    body.page-appdownload-index .download-copy h1 {
        font-size: clamp(30px, 5vw, 54px);
        line-height: 1.25;
        font-weight: 900;
        margin: 0 0 18px;
        color: #333;
    }

    body.page-appdownload-index .download-copy p {
        color: #666;
        font-size: 17px;
        line-height: 2;
        max-width: 680px;
        margin-bottom: 28px;
    }

    body.page-appdownload-index .download-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    body.page-appdownload-index .download-primary,
    body.page-appdownload-index .download-store {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 46px;
        border-radius: 10px;
        padding: 0 18px;
        text-decoration: none;
        font-weight: 800;
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

    body.page-appdownload-index .download-primary {
        background: linear-gradient(45deg, #667eea, #764ba2);
        color: #fff;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.28);
    }

    body.page-appdownload-index .download-store {
        color: #495057;
        border: 1px solid #e1e5e9;
        background: #f8f9fa;
    }

    body.page-appdownload-index .download-primary:hover,
    body.page-appdownload-index .download-store:hover {
        transform: translateY(-2px);
        color: inherit;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    }

    body.page-appdownload-index .download-primary:hover {
        color: #fff;
    }

    body.page-appdownload-index .download-panel {
        display: grid;
        gap: 14px;
        align-self: stretch;
        padding: 46px;
        background: linear-gradient(180deg, #165f94 0%, #08c9dc 100%);
        color: #fff;
    }

    body.page-appdownload-index .phone-card {
        min-height: 360px;
        border: 1px solid rgba(255, 255, 255, .32);
        border-radius: 28px;
        background: rgba(255, 255, 255, .12);
        box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        position: relative;
        overflow: hidden;
    }

    body.page-appdownload-index .phone-card:before {
        content: "";
        position: absolute;
        inset: 22px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 22px;
    }

    body.page-appdownload-index .phone-top {
        position: absolute;
        top: 18px;
        width: 88px;
        height: 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .42);
    }

    body.page-appdownload-index .phone-card i {
        font-size: 52px;
        color: #fff;
        z-index: 1;
    }

    body.page-appdownload-index .phone-card strong {
        font-size: 24px;
        z-index: 1;
    }

    body.page-appdownload-index .phone-card span {
        color: rgba(255, 255, 255, .78);
        z-index: 1;
    }

    body.page-appdownload-index .version-card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
        overflow: hidden;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, .28);
        background: rgba(255, 255, 255, .26);
    }

    body.page-appdownload-index .version-card div {
        background: rgba(255, 255, 255, .13);
        padding: 14px;
    }

    body.page-appdownload-index .version-card small {
        display: block;
        color: rgba(255, 255, 255, .72);
        margin-bottom: 4px;
    }

    body.page-appdownload-index .version-card strong {
        color: #fff;
    }

    body.page-appdownload-index .download-disabled {
        background: rgba(220, 53, 69, .1);
        border: 1px solid rgba(220, 53, 69, .22);
        color: #842029;
        padding: 14px 16px;
        border-radius: 12px;
        display: inline-flex;
    }

    @media (max-width: 840px) {
        body.page-appdownload-index .download-hero {
            grid-template-columns: 1fr;
            min-height: 0;
        }

        body.page-appdownload-index .download-page {
            padding-top: 34px;
        }

        body.page-appdownload-index .download-copy {
            padding: 30px 22px;
        }

        body.page-appdownload-index .download-panel {
            padding: 24px;
        }
    }


/* NovinWebTracker/Views/Device/Create.cshtml */
body.page-device-create {
        background-color: #f8f9fa;
    }

    body.page-device-create .mobile-app-container {
        max-width: 100%;
        min-height: 100vh;
        background-color: #f8f9fa;
        position: relative;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    
    body.page-device-create .app-header {
        background-color: #fff;
        padding: 16px;
        position: sticky;
        top: 0;
        
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    body.page-device-create .app-title {
        margin: 0;
        font-weight: 600;
        color: #333;
    }

    body.page-device-create .back-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        color: #333;
        cursor: pointer;
    }

    body.page-device-create .back-button:hover {
        color: #007bff;
    }

    
    body.page-device-create .app-content {
        flex: 1;
        padding: 16px;
        overflow-y: auto;
    }

    
    body.page-device-create .mobile-form {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    body.page-device-create .validation-summary {
        background-color: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
    }

    body.page-device-create .validation-summary ul {
        margin-bottom: 0;
        padding-right: 16px;
    }

    
    body.page-device-create .form-card {
        background-color: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 20px;
    }

    body.page-device-create .form-step-indicator {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(0, 123, 255, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
        color: #007bff;
        font-size: 18px;
    }

    body.page-device-create .form-step-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 24px;
        color: #212529;
    }

    body.page-device-create .form-fields {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    
    body.page-device-create .floating-form-group {
        margin-bottom: 8px;
    }

    body.page-device-create .form-field {
        margin-bottom: 8px;
    }

    body.page-device-create .form-field label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #495057;
    }

    body.page-device-create .form-field input {
       
        
        border: 1px solid #ced4da;
        border-radius: 12px;
        font-size: 16px;
        transition: all 0.2s;
    }

    body.page-device-create .form-field input:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        outline: none;
    }

    body.page-device-create .field-validation-error {
        display: block;
        color: #dc3545;
        font-size: 0.85rem;
        margin-top: 8px;
    }

    body.page-device-create .field-hint {
        font-size: 0.85rem;
        color: #6c757d;
        margin-top: 4px;
        display: flex;
        align-items: flex-start;
        gap: 4px;
    }

    body.page-device-create .field-hint i {
        margin-top: 3px;
    }

    
    body.page-device-create .info-card {
        background-color: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    body.page-device-create .info-card-header {
        background-color: #f8f9fa;
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        color: #495057;
        border-bottom: 1px solid #e9ecef;
    }

    body.page-device-create .info-card-body {
        padding: 16px;
    }

    body.page-device-create .info-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    body.page-device-create .info-item:last-child {
        margin-bottom: 0;
    }

    body.page-device-create .info-item i {
        margin-top: 3px;
    }

    
    body.page-device-create .form-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 8px;
        padding-bottom: 32px;
    }

    body.page-device-create .btn-primary-action {
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 12px;
        padding: 14px;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        cursor: pointer;
        transition: all 0.2s;
    }

    body.page-device-create .btn-primary-action:hover, body.page-device-create .btn-primary-action:focus {
        background-color: #0069d9;
        transform: translateY(-1px);
    }

    body.page-device-create .btn-primary-action:active {
        transform: translateY(1px);
    }

    body.page-device-create .btn-secondary-action {
        background-color: transparent;
        color: #6c757d;
        border: 1px solid #6c757d;
        border-radius: 12px;
        padding: 14px;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
    }

    body.page-device-create .btn-secondary-action:hover, body.page-device-create .btn-secondary-action:focus {
        background-color: #f8f9fa;
        color: #5a6268;
        text-decoration: none;
    }

    
    @media (min-width: 768px) {
        body.page-device-create .mobile-app-container {
            max-width: 500px;
            margin: 0 auto;
            border-right: 1px solid #e9ecef;
            border-left: 1px solid #e9ecef;
            min-height: calc(100vh - 40px);
            margin-top: 20px;
            margin-bottom: 20px;
            border-radius: 16px;
            overflow: hidden;
        }
    }


    
    body.page-device-create .device-type-selection {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
        margin-top: 12px;
    }

    body.page-device-create .device-type-option {
        position: relative;
    }

        body.page-device-create .device-type-option input[type="radio"] {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

    body.page-device-create .device-type-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 12px;
        border: 2px solid #e9ecef;
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #fff;
        text-align: center;
        min-height: 120px;
        position: relative;
        overflow: hidden;
    }

        body.page-device-create .device-type-label:hover {
            border-color: #007bff;
            background-color: rgba(0, 123, 255, 0.02);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
        }

    body.page-device-create .device-type-option input[type="radio"]:checked + .device-type-label {
        border-color: #007bff;
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

        body.page-device-create .device-type-option input[type="radio"]:checked + .device-type-label::after {
            content: '✓';
            position: absolute;
            top: 8px;
            right: 8px;
            width: 20px;
            height: 20px;
            background-color: #007bff;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }

    body.page-device-create .device-type-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
        transition: all 0.3s ease;
    }

    body.page-device-create .device-type-option input[type="radio"]:checked + .device-type-label .device-type-icon {
        transform: scale(1.1);
    }

    body.page-device-create .device-type-text {
        text-align: center;
    }

    body.page-device-create .device-type-name {
        font-size: 0.9rem;
        font-weight: 500;
        color: #495057;
        line-height: 1.3;
        display: block;
    }

    body.page-device-create .device-type-option input[type="radio"]:checked + .device-type-label .device-type-name {
        color: #007bff;
        font-weight: 600;
    }


/* NovinWebTracker/Views/Device/Data.cshtml */
body.page-device-data .data-card {
        background-color: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        border: 1px solid #f1f1f1;
        transition: transform 0.2s;
        margin-bottom: 12px;
    }

        body.page-device-data .data-card:active {
            transform: scale(0.98);
        }

    body.page-device-data .alert-icon-box {
        font-size: 1.2rem;
    }
    
    body.page-device-data .app-content {
        direction: rtl;
        text-align: right;
    }


/* NovinWebTracker/Views/Device/Details.cshtml */
body.page-device-details .map-layer-menu {
            top: 80px;
            left: 80px;
            z-index: 600;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            border-radius: var(--border-radius-smooth);
            box-shadow: var(--shadow-elevated);
            min-width: 250px;
            animation: slideInFromLeft 0.3s ease-out;
        }

        body.page-device-details .layer-menu-content {
            padding: 16px;
        }

        body.page-device-details .layer-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        body.page-device-details .layer-options {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        body.page-device-details .layer-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

            body.page-device-details .layer-option:hover {
                background: rgba(255, 255, 255, 0.2);
                transform: translateX(-5px);
            }

            body.page-device-details .layer-option.active {
                background: var(--primary-color);
                box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
            }

        body.page-device-details .layer-preview {
            width: 40px;
            height: 30px;
            border-radius: 4px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            flex-shrink: 0;
        }

        body.page-device-details .layer-preview-streets {
            background: linear-gradient(45deg, #f8f9fa 25%, #e9ecef 25%, #e9ecef 50%, #f8f9fa 50%, #f8f9fa 75%, #e9ecef 75%);
            background-size: 8px 8px;
        }

        body.page-device-details .layer-preview-satellite {
            background: linear-gradient(135deg, #2d5016, #5d8c2e, #8fbc5c, #a8cc78);
            position: relative;
        }

            body.page-device-details .layer-preview-satellite::after {
                content: '';
                position: absolute;
                top: 2px;
                right: 2px;
                width: 4px;
                height: 4px;
                background: white;
                border-radius: 50%;
            }

        body.page-device-details .layer-preview-hybrid {
            background: linear-gradient(135deg, #2d5016 0%, #5d8c2e 50%, #f8f9fa 50%, #e9ecef 100%);
        }

        body.page-device-details .layer-check {
            margin-left: auto;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        body.page-device-details .layer-option.active .layer-check {
            opacity: 1;
        }

        
        @keyframes slideInFromLeft {
            0% {
                transform: translateX(-100%);
                opacity: 0;
            }

            100% {
                transform: translateX(0);
                opacity: 1;
            }
        }

        
        @media (max-width: 768px) {
            body.page-device-details .map-layer-menu {
                left: 60px;
                min-width: 220px;
            }

            body.page-device-details .layer-option {
                padding: 10px;
                gap: 10px;
            }

            body.page-device-details .layer-preview {
                width: 35px;
                height: 25px;
            }
        }


/* NovinWebTracker/Views/Device/Details.cshtml */
body.page-device-details {
            --primary-color: #007bff;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
            --secondary-color: #6c757d;
            --dark-color: #343a40;
            --shadow-elevated: 0 8px 25px rgba(0,0,0,0.15);
            --shadow-floating: 0 4px 12px rgba(0,0,0,0.15);
            --border-radius-round: 50%;
            --border-radius-smooth: 12px;
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body.page-device-details .page-wrapper > .content {
            padding: 1rem 1rem 0;
        }

        



        
        body.page-device-details #map {
            width: 100%;
            z-index: 1 !important; 
            position: relative;
        }



        



        
         
        

        
        


        
        


        
        body.page-device-details .device-type-icon {
            font-size: 1.2rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        
        body.page-device-details .leaflet-control-container {
            z-index: 1000 !important;
        }

        body.page-device-details .leaflet-popup {
            z-index: 1040 !important;
        }

        body.page-device-details .device-type-badge {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }


        
        body.page-device-details .floating-controls-right {
            top: 30px;
            right: 16px;
            z-index: 500;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }



        body.page-device-details .floating-controls-left {
            top: 80px;
            left: 16px;
            z-index: 500;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }



        body.page-device-details .control-btn {
            width: 56px;
            height: 56px;
            border-radius: var(--border-radius-round);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            box-shadow: var(--shadow-floating);
            transition: var(--transition-smooth);
            cursor: pointer;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }



            body.page-device-details .control-btn::before {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                width: 0;
                height: 0;
                background: rgba(255, 255, 255, 0.3);
                border-radius: 50%;
                transform: translate(-50%, -50%);
                transition: all 0.3s ease;
            }



            body.page-device-details .control-btn:hover::before {
                width: 100%;
                height: 100%;
            }



            body.page-device-details .control-btn:hover {
                transform: translateY(-3px) scale(1.05);
                box-shadow: var(--shadow-elevated);
            }



            body.page-device-details .control-btn:active {
                transform: translateY(-1px) scale(0.98);
            }



        body.page-device-details .control-btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, #4dabf7 100%);
        }



        body.page-device-details .control-btn-success {
            background: linear-gradient(135deg, var(--success-color) 0%, #51cf66 100%);
        }



        body.page-device-details .control-btn-warning {
            background: linear-gradient(135deg, var(--warning-color) 0%, #ffd43b 100%);
            color: var(--dark-color);
        }



        body.page-device-details .control-btn-danger {
            background: linear-gradient(135deg, var(--danger-color) 0%, #ff6b6b 100%);
        }



        body.page-device-details .control-btn-info {
            background: linear-gradient(135deg, var(--info-color) 0%, #3bc9db 100%);
        }



        body.page-device-details .control-btn-secondary {
            background: linear-gradient(135deg, var(--secondary-color) 0%, #868e96 100%);
        }



        body.page-device-details .control-btn-dark {
            background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
        }








        
        body.page-device-details .bottom-info-panel {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 400;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            color: white;
            padding: 16px 20px;
            transform: translateY(100%);
            transition: var(--transition-smooth);
            border-radius: var(--border-radius-smooth) var(--border-radius-smooth) 0 0;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
        }



            body.page-device-details .bottom-info-panel.show {
                transform: translateY(0);
            }



        body.page-device-details .bottom-info-content {
            max-height: 250px;
            overflow-y: auto;
        }



        body.page-device-details .speed-info {
            display: flex;
            align-items: center;
            font-size: 1.1rem;
            font-weight: 600;
        }



            body.page-device-details .speed-info i {
                color: var(--primary-color);
                font-size: 1.3rem;
            }




        
        @media (min-width: 992px) {
            body.page-device-details .bottom-info-panel {
                margin-right: 17%;
            }
        }




        
        @media (max-width: 768px) {
            body.page-device-details .floating-controls-right {
                right: 12px;
                top: 30px;
            }



            body.page-device-details .floating-controls-left {
                left: 12px;
                top: 70px;
            }



            body.page-device-details .control-btn {
                width: 50px;
                height: 50px;
                font-size: 18px;
            }







            body.page-device-details .bottom-info-panel {
                padding: 12px 16px;
            }



            body.page-device-details .speed-info {
                font-size: 1rem;
            }
        }



        @media (max-width: 480px) {
            body.page-device-details .floating-controls-right {
                right: 8px;
            }



            body.page-device-details .floating-controls-left {
                left: 8px;
            }



            body.page-device-details .control-btn {
                width: 46px;
                height: 46px;
                font-size: 16px;
                gap: 8px;
            }
        }




        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }



            50% {
                transform: scale(1.05);
            }
        }



        body.page-device-details .control-btn:focus {
            animation: pulse 0.5s ease-in-out;
            outline: 2px solid rgba(255, 255, 255, 0.5);
            outline-offset: 2px;
        }




        
        body.page-device-details .bottom-info-content::-webkit-scrollbar,
        body.page-device-details #responseLog::-webkit-scrollbar {
            width: 6px;
        }



        body.page-device-details .bottom-info-content::-webkit-scrollbar-track,
        body.page-device-details #responseLog::-webkit-scrollbar-track {
            background: rgba(255,255,255,0.1);
            border-radius: 3px;
        }



        body.page-device-details .bottom-info-content::-webkit-scrollbar-thumb,
        body.page-device-details #responseLog::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.3);
            border-radius: 3px;
        }



            body.page-device-details .bottom-info-content::-webkit-scrollbar-thumb:hover,
            body.page-device-details #responseLog::-webkit-scrollbar-thumb:hover {
                background: rgba(255,255,255,0.5);
            }




        
        body.page-device-details #logCount {
            min-width: 20px;
            height: 20px;
            border-radius: 10px;
            font-size: 0.75rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }



        
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }



            100% {
                transform: rotate(360deg);
            }
        }



        body.page-device-details .fa-spin {
            animation: spin 1s linear infinite;
        }


/* NovinWebTracker/Views/Device/Edit.cshtml */
body.page-device-edit .status-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }

            100% {
                opacity: 1;
            }
        }

        
        body.page-device-edit .floating-form-group {
            margin-bottom: 1.5rem;
        }

        body.page-device-edit .form-field {
            position: relative;
        }

        body.page-device-edit .device-type-selection {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin-top: 10px;
        }

        body.page-device-edit .device-type-option {
            position: relative;
        }

            body.page-device-edit .device-type-option input[type="radio"] {
                position: absolute;
                opacity: 0;
                width: 0;
                height: 0;
            }

        body.page-device-edit .device-type-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px 15px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            min-height: 100px;
            justify-content: center;
        }

            body.page-device-edit .device-type-label:hover {
                background: #e3f2fd;
                border-color: #2196f3;
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
            }

        body.page-device-edit .device-type-option input[type="radio"]:checked + .device-type-label {
            background: linear-gradient(135deg, #2196f3, #1976d2);
            border-color: #1976d2;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
        }

            body.page-device-edit .device-type-option input[type="radio"]:checked + .device-type-label .device-type-icon {
                color: white !important;
                animation: bounceIn 0.6s ease;
            }

        body.page-device-edit .device-type-icon {
            font-size: 2rem;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        body.page-device-edit .device-type-text {
            margin-top: 5px;
        }

        body.page-device-edit .device-type-name {
            font-size: 0.9rem;
            font-weight: 600;
            display: block;
            line-height: 1.2;
        }

        @keyframes bounceIn {
            0% {
                transform: scale(0.3);
                opacity: 0;
            }

            50% {
                transform: scale(1.1);
                opacity: 1;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        body.page-device-edit .field-hint {
            display: flex;
            align-items: center;
            margin-top: 8px;
            padding: 8px 12px;
            background: #f0f7ff;
            border: 1px solid #b3d9ff;
            border-radius: 8px;
            font-size: 0.85rem;
            color: #0066cc;
        }

            body.page-device-edit .field-hint i {
                margin-left: 8px;
                color: #0066cc;
            }

        body.page-device-edit .field-validation-error {
            display: block;
            color: #dc3545;
            font-size: 0.875rem;
            margin-top: 5px;
        }

        body.page-device-edit .form-control:focus,
        body.page-device-edit .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        }

        body.page-device-edit .input-group-text {
            background-color: #f8f9fa;
        }

        body.page-device-edit .card {
            transition: transform 0.2s ease-in-out;
        }

            body.page-device-edit .card:hover {
                transform: translateY(-2px);
            }

        body.page-device-edit .btn {
            transition: all 0.3s ease;
        }

            body.page-device-edit .btn:hover {
                transform: translateY(-1px);
            }

        body.page-device-edit .form-switch .form-check-input:checked {
            background-color: #198754;
            border-color: #198754;
        }

        
        @media (max-width: 768px) {
            body.page-device-edit .container-fluid {
                padding-left: 10px;
                padding-right: 10px;
            }

            body.page-device-edit .card-body {
                padding: 1rem;
            }

            body.page-device-edit .device-type-selection {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            body.page-device-edit .device-type-label {
                padding: 15px 10px;
                min-height: 85px;
            }

            body.page-device-edit .device-type-icon {
                font-size: 1.5rem;
            }

            body.page-device-edit .device-type-name {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 576px) {
            body.page-device-edit .device-type-selection {
                grid-template-columns: 1fr;
            }

            body.page-device-edit .device-type-label {
                flex-direction: row;
                text-align: right;
                padding: 15px;
                min-height: auto;
            }

            body.page-device-edit .device-type-icon {
                margin-bottom: 0;
                margin-left: 15px;
                font-size: 1.8rem;
            }

            body.page-device-edit .device-type-text {
                margin-top: 0;
                flex: 1;
            }
        }


/* NovinWebTracker/Views/Device/Index.cshtml */
body.page-device-index .mobile-app-container {
        max-width: 100%;
        height: 100vh;
        background-color: #f8f9fa;
        position: relative;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    
    body.page-device-index .app-header {
        background-color: #fff;
        padding: 16px;
        position: sticky;
        top: 0;
        
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    body.page-device-index .app-title {
        margin: 0;
        font-weight: 600;
        color: #333;
    }

    
    body.page-device-index .btn-floating {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #007bff;
        color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        transition: all 0.2s;
    }

    body.page-device-index .btn-floating:hover, body.page-device-index .btn-floating:focus {
        background-color: #0069d9;
        color: white;
        transform: scale(1.05);
        text-decoration: none;
    }

    
    body.page-device-index .app-content {
        flex: 1;
        padding: 16px;
        overflow-y: auto;
    }

    
    body.page-device-index .device-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    body.page-device-index .device-card {
        background-color: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        transition: transform 0.2s;
    }

    body.page-device-index .device-card:active {
        transform: scale(0.98);
    }

    body.page-device-index .active-device {
        border-right: 4px solid #28a745;
    }

    body.page-device-index .inactive-device {
        border-right: 4px solid #dc3545;
    }

    body.page-device-index .device-card-main {
        display: flex;
        align-items: center;
        padding: 16px;
        cursor: pointer;
        color: inherit;
        position: relative;
        text-decoration: none;
        z-index: 1;
        -webkit-tap-highlight-color: transparent;
    }

    body.page-device-index .device-card-main:hover,
    body.page-device-index .device-card-main:focus {
        color: inherit;
        text-decoration: none;
    }

    body.page-device-index .device-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #e9ecef;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 16px;
        font-size: 18px;
        color: #495057;
    }

    body.page-device-index .active-device .device-icon {
        background-color: rgba(40, 167, 69, 0.1);
        color: #28a745;
    }

    body.page-device-index .inactive-device .device-icon {
        background-color: rgba(220, 53, 69, 0.1);
        color: #dc3545;
    }

    body.page-device-index .device-info {
        flex: 1;
    }

    body.page-device-index .device-title {
        margin: 0 0 4px 0;
        font-weight: 600;
        color: #212529;
    }

    body.page-device-index .device-meta {
        display: flex;
        gap: 12px;
        color: #6c757d;
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    body.page-device-index .device-status {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }

    body.page-device-index .status-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
    }

    body.page-device-index .status-active {
        background-color: #28a745;
    }

    body.page-device-index .status-inactive {
        background-color: #dc3545;
    }

    body.page-device-index .status-text {
        color: #6c757d;
    }

    body.page-device-index .subscription-date {
        margin-right: 12px;
        color: #6c757d;
    }

    body.page-device-index .subscription-date i {
        margin-left: 4px;
        font-size: 0.85rem;
    }

    body.page-device-index .action-indicator {
        color: #adb5bd;
    }

    
    body.page-device-index .device-actions {
        padding: 0 16px 16px;
        position: relative;
        z-index: 2;
    }

    body.page-device-index .action-buttons {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }

    body.page-device-index .action-buttons::-webkit-scrollbar {
        height: 4px;
    }

    body.page-device-index .action-buttons::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 4px;
    }

    body.page-device-index .action-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 60px;
        text-align: center;
        padding: 8px;
        border-radius: 8px;
        font-size: 0.8rem;
        color: #495057;
        transition: background-color 0.2s;
        text-decoration: none;
        position: relative;
        z-index: 3;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    body.page-device-index .action-button:hover {
        background-color: #f8f9fa;
        text-decoration: none;
    }

    body.page-device-index .action-button i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    body.page-device-index .view-btn i { color: #0dcaf0; }
    body.page-device-index .data-btn i { color: #0dcaf0; }
    body.page-device-index .map-btn i { color: #198754; }
    body.page-device-index .subscription-btn i { color: #0d6efd; }
    body.page-device-index .edit-btn i { color: #ffc107; }
    body.page-device-index .delete-btn i { color: #dc3545; }

    
    body.page-device-index .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
        height: 70vh;
        color: #6c757d;
    }

    body.page-device-index .empty-state-icon {
        font-size: 4rem;
        color: #adb5bd;
        margin-bottom: 16px;
    }

    body.page-device-index .empty-state h6 {
        font-weight: 600;
        margin-bottom: 8px;
        color: #495057;
    }

    
    @media (min-width: 768px) {
        body.page-device-index .mobile-app-container {
            max-width: 600px;
            margin: 0 auto;
            border-right: 1px solid #e9ecef;
            border-left: 1px solid #e9ecef;
            height: calc(100vh - 40px);
            margin-top: 20px;
            margin-bottom: 20px;
            border-radius: 16px;
            overflow: hidden;
        }
    }


/* NovinWebTracker/Views/Device/Routes.cshtml */
body.page-device-routes .routes-container {
            min-height: calc(100vh - 200px);
        }

        body.page-device-routes .route-card {
            transition: all 0.3s ease;
            border: 1px solid #e3e6f0;
            margin-bottom: 1rem;
        }

        body.page-device-routes .route-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            border-color: #007bff;
        }

        body.page-device-routes .route-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 0.375rem 0.375rem 0 0;
            padding: 1rem;
        }

        body.page-device-routes .route-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            padding: 1rem;
        }

        body.page-device-routes .stat-item {
            text-align: center;
            padding: 0.75rem;
            background: #f8f9fc;
            border-radius: 0.375rem;
            border-left: 3px solid #007bff;
        }

        body.page-device-routes .stat-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        body.page-device-routes .stat-value {
            font-size: 1.25rem;
            font-weight: bold;
            color: #2c3e50;
            display: block;
        }

        body.page-device-routes .stat-label {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: 0.25rem;
        }

        body.page-device-routes .search-card {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            border: none;
        }

        body.page-device-routes .search-card .card-header {
            background: transparent;
            border-bottom: 1px solid rgba(255,255,255,0.3);
        }

        body.page-device-routes .form-control:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }

        body.page-device-routes .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: #6c757d;
        }

        body.page-device-routes .empty-state i {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        body.page-device-routes .loading-card {
            text-align: center;
            padding: 2rem;
        }

        body.page-device-routes .route-footer {
            background: #f8f9fc;
            border-top: 1px solid #e3e6f0;
            padding: 1rem;
        }

        body.page-device-routes .btn-view-detail {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            transition: all 0.3s ease;
        }

        body.page-device-routes .btn-view-detail:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
            color: white;
        }

        @media (max-width: 768px) {
            body.page-device-routes .route-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            body.page-device-routes .stat-item {
                padding: 0.5rem;
            }

            body.page-device-routes .stat-icon {
                font-size: 1.25rem;
            }

            body.page-device-routes .stat-value {
                font-size: 1rem;
            }
        }


/* NovinWebTracker/Views/Device/ShowRoute.cshtml */
body.page-device-showroute #map {
            height: 70vh;
            width: 100%;
            border-radius: .375rem;
        }

        body.page-device-showroute .route-stats {
            background: #f8f9fa;
            border-radius: .375rem;
            padding: 1rem;
        }

        body.page-device-showroute .stat-item {
            text-align: center;
            border-left: 1px solid #dee2e6;
        }

            body.page-device-showroute .stat-item:last-child {
                border-left: none;
            }

        body.page-device-showroute .custom-icon {
            background-color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 24px !important;
            box-shadow: 0 1px 5px rgba(0,0,0,0.4);
            border: 2px solid white;
        }

        body.page-device-showroute .start-icon {
            color: #198754;
        }

        body.page-device-showroute .end-icon {
            color: #dc3545;
        }


/* NovinWebTracker/Views/Home/Index.cshtml */
body.page-home-index .card {
            transition: all 0.3s;
            margin-bottom: 20px;
        }

            body.page-home-index .card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            }

        body.page-home-index .card-header {
            font-weight: bold;
        }

        
        body.page-home-index .card-body i {
            transition: transform 0.5s;
        }

        body.page-home-index .card:hover .card-body i {
            transform: scale(1.2);
        }

        
        @media (max-width: 768px) {
            body.page-home-index .card-title {
                font-size: 1.5rem;
            }
        }

        body.page-home-index canvas {
            height: 250px;
            max-height: 250px; 
        }


/* NovinWebTracker/Views/Shared/_Layoutform.cshtml */
body.layout-form .login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

body.layout-form .loginbox {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

body.layout-form .login-left {
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

body.layout-form .login-left img {
    max-width: 200px;
    filter: brightness(0) invert(1);
}

body.layout-form .login-right-wrap {
    padding: 40px;
}

body.layout-form .login-right-wrap h1 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 2rem;
}

body.layout-form .account-subtitle {
    color: #666;
    margin-bottom: 30px;
}


body.layout-form .form-control {
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

body.layout-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: #fff;
}

body.layout-form .form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.73.73L8 2.49l-.73-.73L3 6.07 1.47 4.54l-.74.73z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

body.layout-form .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 4.4 4.8'/%3e%3cpath d='m10.2 3.6-4.4 4.8'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


body.layout-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

body.layout-form .form-label i {
    color: #667eea;
}


body.layout-form .btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.layout-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

body.layout-form .btn-primary:active {
    transform: translateY(0);
}

body.layout-form .btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

body.layout-form .btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

body.layout-form .btn-secondary:hover {
    background: #5a6268;
}

body.layout-form .btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
}

body.layout-form .btn-success:hover {
    transform: translateX(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

body.layout-form .btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    transition: all 0.3s ease;
}

body.layout-form .btn-outline-primary:hover {
    background: #667eea;
    transform: translateY(-1px);
}


body.layout-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.layout-form .input-group .form-control {
    border-radius: 10px 0 0 10px;
    border-right: none;
}

body.layout-form .input-group .btn {
    border-radius: 0 10px 10px 0;
}


body.layout-form .form-check {
    padding: 10px 0;
}

body.layout-form .form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

body.layout-form .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

body.layout-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

body.layout-form .form-check-label {
    margin-right: 10px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
}


body.layout-form .alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

body.layout-form .alert-info {
    background: linear-gradient(45deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

body.layout-form .alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}

body.layout-form .alert-danger {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

body.layout-form .alert-light {
    background: linear-gradient(45deg, #fefefe, #f8f9fa);
    color: #495057;
    border: 1px solid #dee2e6;
}


body.layout-form #timerContainer {
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
    }
}

body.layout-form #countdown {
    color: #667eea;
    font-size: 1.2em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


body.layout-form .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


body.layout-form #passwordSection, body.layout-form #oneTimeCodeSection {
    transition: all 0.3s ease;
}


body.layout-form .text-danger {
    font-weight: 500;
    font-size: 0.875em;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

body.layout-form .text-success {
    font-weight: 500;
    font-size: 0.875em;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

body.layout-form .text-muted {
    color: #6c757d !important;
}


body.layout-form a.text-decoration-none {
    color: #667eea;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

body.layout-form a.text-decoration-none:hover {
    color: #5a67d8;
    transform: translateY(-1px);
}


body.layout-form .form-text {
    font-size: 0.825em;
    color: #6c757d;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

body.layout-form .form-text i {
    color: #17a2b8;
}


@media (max-width: 768px) {
    body.layout-form .loginbox {
        margin: 20px;
        border-radius: 10px;
    }

    body.layout-form .login-left {
        padding: 20px;
    }

    body.layout-form .login-right-wrap {
        padding: 20px;
    }

    body.layout-form .login-right-wrap h1 {
        font-size: 1.5rem;
    }

    body.layout-form .btn {
        padding: 10px 15px;
    }
}


body.layout-form .validation-summary-errors {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

body.layout-form .validation-summary-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.layout-form .validation-summary-errors li {
    color: #721c24;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

body.layout-form .validation-summary-errors li:before {
    content: "⚠";
    margin-left: 8px;
    color: #dc3545;
}


body.layout-form .mb-3 {
    position: relative;
}


body.layout-form .form-control:focus + .form-text {
    color: #667eea;
}


body.layout-form .btn:not(:disabled):hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


body.layout-form .row a {
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

body.layout-form .row a:hover {
    background: rgba(102, 126, 234, 0.1);
}


body.layout-form .btn-loading {
    position: relative;
    pointer-events: none;
}

body.layout-form .btn-loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s ease infinite;
}

/* Compact login/register layout for small screens. */
body.page-account-login,
body.page-account-register {
    --auth-compact-gap: 10px;
}

body.page-account-login .login-wrapper,
body.page-account-register .login-wrapper {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

body.page-account-login .loginbox,
body.page-account-register .loginbox {
    max-width: 920px;
    margin: 0 auto;
}

body.page-account-login .auth-app-download,
body.page-account-register .auth-app-download {
    margin-top: 14px !important;
    padding: 9px 10px;
    border-radius: 10px;
}

body.page-account-login .auth-app-icon,
body.page-account-register .auth-app-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 18px;
}

body.page-account-login .auth-app-link,
body.page-account-register .auth-app-link {
    min-height: 30px;
    padding: 0 11px;
}

@media (min-width: 769px) {
    body.page-account-login .login-wrapper,
    body.page-account-register .login-wrapper {
        padding: 36px 18px;
    }

    body.page-account-login .login-wrapper .container,
    body.page-account-register .login-wrapper .container {
        max-width: 1110px;
    }

    body.page-account-login .loginbox,
    body.page-account-register .loginbox {
        min-height: 660px;
        height: min(760px, calc(100vh - 72px));
        border-radius: 18px;
        box-shadow: 0 24px 70px rgba(39, 48, 102, 0.24);
    }

    body.page-account-login .login-left,
    body.page-account-register .login-left {
        flex: 0 0 44%;
        padding: 32px;
        background: linear-gradient(180deg, #165f94 0%, #08c9dc 100%);
    }

    body.page-account-login .login-left img,
    body.page-account-register .login-left img {
        max-width: 190px;
    }

    body.page-account-login .login-right,
    body.page-account-register .login-right {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.page-account-login .login-right-wrap,
    body.page-account-register .login-right-wrap {
        width: 100%;
        max-width: 360px;
        padding: 28px 10px;
    }

    body.page-account-login .login-right-wrap h1,
    body.page-account-register .login-right-wrap h1 {
        font-size: 1.72rem;
        margin-bottom: 6px;
    }

    body.page-account-login .account-subtitle,
    body.page-account-register .account-subtitle {
        margin-bottom: 22px;
    }

    body.page-account-login .form-label,
    body.page-account-register .form-label {
        margin-bottom: 6px;
        font-size: 0.95rem;
    }

    body.page-account-login .mb-3,
    body.page-account-register .mb-3 {
        margin-bottom: 0.9rem !important;
    }

    body.page-account-login .form-control,
    body.page-account-register .form-control {
        min-height: 46px;
        padding: 10px 14px;
    }

    body.page-account-login .btn-primary,
    body.page-account-register .btn-primary {
        min-height: 46px;
        padding: 10px 18px;
    }

    body.page-account-login .alert,
    body.page-account-register .alert {
        padding: 12px 14px;
        margin-bottom: 10px;
        line-height: 1.65;
    }

    body.page-account-login .auth-app-download,
    body.page-account-register .auth-app-download {
        margin-top: 18px !important;
    }
}

@media (min-width: 769px) and (max-height: 780px) {
    body.page-account-login .loginbox,
    body.page-account-register .loginbox {
        min-height: 600px;
    }

    body.page-account-login .login-right-wrap,
    body.page-account-register .login-right-wrap {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    body.page-account-login .account-subtitle,
    body.page-account-register .account-subtitle {
        margin-bottom: 16px;
    }

    body.page-account-login .mb-3,
    body.page-account-register .mb-3 {
        margin-bottom: 0.72rem !important;
    }

    body.page-account-register .alert {
        padding: 9px 12px;
    }
}

@media (max-width: 576px) {
    body.page-account-login .login-wrapper,
    body.page-account-register .login-wrapper {
        align-items: stretch;
    }

    body.page-account-login .login-wrapper .container,
    body.page-account-register .login-wrapper .container {
        padding-right: 10px;
        padding-left: 10px;
        display: flex;
        align-items: center;
    }

    body.page-account-login .loginbox,
    body.page-account-register .loginbox {
        width: 100%;
        margin: 10px 0;
        border-radius: 12px;
    }

    body.page-account-login .login-left,
    body.page-account-register .login-left {
        min-height: 54px;
        padding: 10px 16px;
    }

    body.page-account-login .login-left img,
    body.page-account-register .login-left img {
        max-width: 132px;
        max-height: 38px;
    }

    body.page-account-login .login-right-wrap,
    body.page-account-register .login-right-wrap {
        padding: 14px 16px 16px;
    }

    body.page-account-login .login-right-wrap h1,
    body.page-account-register .login-right-wrap h1 {
        font-size: 1.32rem;
        margin-bottom: 4px;
    }

    body.page-account-login .account-subtitle,
    body.page-account-register .account-subtitle {
        margin-bottom: 12px;
        font-size: 0.86rem;
    }

    body.page-account-login .mb-3,
    body.page-account-register .mb-3 {
        margin-bottom: 0.55rem !important;
    }

    body.page-account-login .form-label,
    body.page-account-register .form-label {
        margin-bottom: 4px;
        font-size: 0.86rem;
    }

    body.page-account-login .form-control,
    body.page-account-register .form-control {
        min-height: 40px;
        padding: 8px 12px;
        border-width: 1px;
    }

    body.page-account-login .input-group .btn,
    body.page-account-register .input-group .btn,
    body.page-account-login .btn-primary,
    body.page-account-register .btn-primary {
        min-height: 40px;
        padding: 8px 14px;
    }

    body.page-account-login .form-check,
    body.page-account-register .form-check {
        padding: 4px 0;
        min-height: 28px;
    }

    body.page-account-login .form-check-input,
    body.page-account-register .form-check-input {
        width: 16px;
        height: 16px;
    }

    body.page-account-login .form-check-label,
    body.page-account-register .form-check-label {
        font-size: 0.84rem;
    }

    body.page-account-login .form-text,
    body.page-account-register .form-text,
    body.page-account-login .text-danger,
    body.page-account-register .text-danger {
        font-size: 0.78rem;
        margin-top: 3px;
    }

    body.page-account-login .alert,
    body.page-account-register .alert {
        padding: 8px 10px;
        margin-bottom: 8px;
        font-size: 0.82rem;
        box-shadow: none;
    }

    body.page-account-login .text-center.mt-3,
    body.page-account-register .text-center.mt-3 {
        margin-top: 0.6rem !important;
    }

    body.page-account-login .row a,
    body.page-account-register .row a,
    body.page-account-register a.text-decoration-none {
        padding: 5px 8px;
        font-size: 0.86rem;
    }

    body.page-account-login .auth-app-download,
    body.page-account-register .auth-app-download {
        margin-top: 10px !important;
        padding: 8px;
        gap: 8px;
    }

    body.page-account-login .auth-app-icon,
    body.page-account-register .auth-app-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    body.page-account-login .auth-app-text strong,
    body.page-account-register .auth-app-text strong {
        font-size: 12px;
    }

    body.page-account-login .auth-app-text span,
    body.page-account-register .auth-app-text span {
        display: none;
    }

    body.page-account-login .auth-app-link,
    body.page-account-register .auth-app-link {
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }
}

@media (max-width: 576px) and (max-height: 640px) {
    body.page-account-login .login-left,
    body.page-account-register .login-left {
        min-height: 44px;
        padding: 7px 14px;
    }

    body.page-account-login .login-left img,
    body.page-account-register .login-left img {
        max-height: 30px;
    }

    body.page-account-login .login-right-wrap,
    body.page-account-register .login-right-wrap {
        padding: 10px 14px 12px;
    }

    body.page-account-login .account-subtitle,
    body.page-account-register .account-subtitle {
        margin-bottom: 8px;
    }

    body.page-account-login .auth-app-download,
    body.page-account-register .auth-app-download {
        display: flex;
        margin-top: 8px !important;
        padding: 7px 8px;
        gap: 7px;
        border-radius: 9px;
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.08);
    }

    body.page-account-login .auth-app-icon,
    body.page-account-register .auth-app-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 14px;
    }

    body.page-account-login .auth-app-text strong,
    body.page-account-register .auth-app-text strong {
        font-size: 11px;
        margin-bottom: 0;
    }

    body.page-account-login .auth-app-link,
    body.page-account-register .auth-app-link {
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }
}


/* NovinWebTracker/Views/Subscription/PaymentResult.cshtml */
body.page-subscription-paymentresult .info-item {
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }

        body.page-subscription-paymentresult .info-item:last-child {
            border-bottom: none;
        }

        body.page-subscription-paymentresult .info-item label {
            font-size: 0.875rem;
            margin-bottom: 2px;
        }


/* NovinWebTracker/Views/Subscription/SelectPlan.cshtml */
body.page-subscription-selectplan {
        background-color: #f8f9fa;
    }

    body.page-subscription-selectplan .mobile-app-container {
        max-width: 100%;
        min-height: 100vh;
        background-color: #f8f9fa;
        position: relative;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    body.page-subscription-selectplan .app-header {
        background-color: #fff;
        padding: 16px;
        position: sticky;
        top: 0;
        
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    body.page-subscription-selectplan .app-title {
        margin: 0;
        font-weight: 600;
        color: #333;
    }

    body.page-subscription-selectplan .back-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        color: #333;
        cursor: pointer;
    }

    body.page-subscription-selectplan .app-content {
        flex: 1;
        padding: 16px;
        overflow-y: auto;
    }

    body.page-subscription-selectplan .form-card {
        background-color: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    body.page-subscription-selectplan .form-step-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: #212529;
    }

    body.page-subscription-selectplan .field-hint {
        font-size: 0.85rem;
        color: #6c757d;
        display: flex;
        align-items: flex-start;
        gap: 4px;
    }

        body.page-subscription-selectplan .field-hint i {
            margin-top: 3px;
        }

    body.page-subscription-selectplan .plan-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    body.page-subscription-selectplan .plan-card {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 20px;
        border-radius: 12px;
        border: 2px solid #e9ecef;
        background-color: #fff;
        text-align: right;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        body.page-subscription-selectplan .plan-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border-color: #007bff;
        }

    body.page-subscription-selectplan .plan-icon {
        font-size: 1.8rem;
        margin-left: 16px;
        width: 40px;
        text-align: center;
    }

    body.page-subscription-selectplan .plan-details {
        flex: 1;
    }

    body.page-subscription-selectplan .plan-title {
        font-size: 1rem;
        font-weight: 600;
        color: #212529;
    }

    body.page-subscription-selectplan .plan-price {
        font-size: 1.2rem;
        font-weight: 700;
        color: #343a40;
    }

        body.page-subscription-selectplan .plan-price small {
            font-size: 0.8rem;
            font-weight: 500;
        }

    body.page-subscription-selectplan .plan-select {
        font-size: 1.2rem;
        color: #adb5bd;
    }

    body.page-subscription-selectplan .plan-card:hover .plan-select {
        color: #007bff;
    }

    
    body.page-subscription-selectplan .plan-card-info {
        border-color: #0dcaf0;
    }

        body.page-subscription-selectplan .plan-card-info .plan-icon {
            color: #0dcaf0;
        }

        body.page-subscription-selectplan .plan-card-info:hover {
            border-color: #0a9cb5;
        }

    body.page-subscription-selectplan .plan-card-warning {
        border-color: #ffc107;
    }

        body.page-subscription-selectplan .plan-card-warning .plan-icon {
            color: #ffc107;
        }

        body.page-subscription-selectplan .plan-card-warning:hover {
            border-color: #d39e00;
        }

    body.page-subscription-selectplan .plan-card-success {
        border-color: #198754;
    }

        body.page-subscription-selectplan .plan-card-success .plan-icon {
            color: #198754;
        }

        body.page-subscription-selectplan .plan-card-success:hover {
            border-color: #146c43;
        }

    body.page-subscription-selectplan .plan-card.recommended::after {
        content: 'پیشنهادی';
        position: absolute;
        top: 10px;
        left: -30px;
        transform: rotate(-45deg);
        background-color: #ffc107;
        color: #212529;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 2px 30px;
    }


/* NovinWebTracker/Views/Test/Index.cshtml */
body.page-test-index {
            height: 100vh;
            width: 100vw;
            margin: 0;
        }

        body.page-test-index #map {
            height: 100%;
            width: 100%;
        }


/* NovinWebTracker/Views/Ticket/Create.cshtml */
@font-face {
            font-family: Vazir;
            src: url('/fonts/Vazir.eot');
            src: url('/fonts/Vazir.eot?#iefix') format('embedded-opentype'),
                 url('/fonts/Vazir.woff2') format('woff2'),
                 url('/fonts/Vazir.woff') format('woff'),
                 url('/fonts/Vazir.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        body.page-ticket-create {
            font-family: 'Vazir', Tahoma, Arial;
            direction: rtl;
            text-align: right;
        }

        body.page-ticket-create .white-space-pre-line {
            white-space: pre-line;
        }

        
        body.page-ticket-create .ticket-main {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 20px;
        }

        
        body.page-ticket-create .form-group label {
            text-align: right;
        }

        body.page-ticket-create .input-group-append {
            margin-right: -1px;
            margin-left: 0;
        }


/* NovinWebTracker/Views/Ticket/Details.cshtml */
@font-face {
            font-family: Vazir;
            src: url('/fonts/Vazir.eot');
            src: url('/fonts/Vazir.eot?#iefix') format('embedded-opentype'),
                 url('/fonts/Vazir.woff2') format('woff2'),
                 url('/fonts/Vazir.woff') format('woff'),
                 url('/fonts/Vazir.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        body.page-ticket-details {
            font-family: 'Vazir', Tahoma, Arial;
            direction: rtl;
            text-align: right;
        }

        body.page-ticket-details .white-space-pre-line {
            white-space: pre-line;
        }

        
        body.page-ticket-details .ticket-main {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 20px;
        }

        
        body.page-ticket-details .form-group label {
            text-align: right;
        }

        body.page-ticket-details .input-group-append {
            margin-right: -1px;
            margin-left: 0;
        }


/* NovinWebTracker/Views/Ticket/Index.cshtml */
@font-face {
            font-family: Vazir;
            src: url('/fonts/Vazir.eot');
            src: url('/fonts/Vazir.eot?#iefix') format('embedded-opentype'),
                 url('/fonts/Vazir.woff2') format('woff2'),
                 url('/fonts/Vazir.woff') format('woff'),
                 url('/fonts/Vazir.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        body.page-ticket-index {
            font-family: 'Vazir', Tahoma, Arial;
            direction: rtl;
            text-align: right;
        }

        body.page-ticket-index .white-space-pre-line {
            white-space: pre-line;
        }

        
        body.page-ticket-index .ticket-main {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 20px;
        }

        
        body.page-ticket-index .form-group label {
            text-align: right;
        }

        body.page-ticket-index .input-group-append {
            margin-right: -1px;
            margin-left: 0;
        }


/* NovinWebTracker/Areas/mysite/Views/AppDownload/Index.cshtml */
body.page-area-mysite-appdownload-index .ltr-input,
    body.page-area-mysite-appdownload-index code {
        direction: ltr;
        text-align: left;
    }


/* NovinWebTracker/Areas/mysite/Views/MapSettings/MapSettings.cshtml */
body.page-area-mysite-mapsettings-mapsettings .form-label {
            font-weight: 600;
            color: #495057;
        }

        body.page-area-mysite-mapsettings-mapsettings .card-title {
            color: #2c3e50;
        }

        body.page-area-mysite-mapsettings-mapsettings .alert {
            border-radius: 8px;
        }

        body.page-area-mysite-mapsettings-mapsettings .badge {
            font-size: 0.875em;
        }

        body.page-area-mysite-mapsettings-mapsettings .bg-light {
            background-color: #f8f9fa !important;
        }

        body.page-area-mysite-mapsettings-mapsettings #neshanApiSection {
            transition: opacity 0.3s ease;
        }

        body.page-area-mysite-mapsettings-mapsettings #apiKeyStatus {
            font-size: 0.85em;
        }


/* NovinWebTracker/Areas/mysite/Views/Payment/Details.cshtml */
@media print {
    body.page-area-mysite-payment-details .btn, body.page-area-mysite-payment-details .card-header .d-flex > div:last-child {
        display: none !important;
    }

    body.page-area-mysite-payment-details .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    body.page-area-mysite-payment-details .card-body {
        padding: 15px !important;
    }
}


/* NovinWebTracker/Areas/mysite/Views/Settings/Index.cshtml */
body.page-area-mysite-settings-index #upl {
            display: none;
        }

        body.page-area-mysite-settings-index #mypic {
            background-image: url('/tools/images/tt.jpg');
            background-size: 0%;
        }

        body.page-area-mysite-settings-index .sms-template-guide td,
        body.page-area-mysite-settings-index .sms-template-guide th {
            vertical-align: middle;
        }

        body.page-area-mysite-settings-index .sms-template-guide code,
        body.page-area-mysite-settings-index .ltr-inline {
            direction: ltr;
            display: inline-block;
            unicode-bidi: embed;
        }


/* NovinWebTracker/Areas/mysite/Views/ZarinpalSettings/Index.cshtml */
body.page-area-mysite-zarinpalsettings-index .info-group {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eee;
    }

        body.page-area-mysite-zarinpalsettings-index .info-group:last-child {
            border-bottom: none;
        }

    body.page-area-mysite-zarinpalsettings-index .info-value {
        margin-top: 0.25rem;
        display: flex;
        align-items: center;
    }

        body.page-area-mysite-zarinpalsettings-index .info-value code {
            background-color: #f8f9fa;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            border: 1px solid #dee2e6;
        }


/* NovinWebTracker/Areas/mysite/Views/ZarinpalSettings/TestPaymentResult.cshtml */
body.page-area-mysite-zarinpalsettings-testpaymentresult .info-item {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

        body.page-area-mysite-zarinpalsettings-testpaymentresult .info-item label {
            display: inline-block;
            min-width: 120px;
            margin-bottom: 0;
        }

        body.page-area-mysite-zarinpalsettings-testpaymentresult .info-item:last-child {
            border-bottom: none;
        }


/* NovinWebTracker/Areas/mysite/Views/ZibalSettings/Index.cshtml */
body.page-area-mysite-zibalsettings-index .info-group {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eee;
    }
    body.page-area-mysite-zibalsettings-index .info-value {
        display: flex;
        align-items: center;
        margin-top: 5px;
    }
    body.page-area-mysite-zibalsettings-index .info-value code {
        background-color: #f8f9fa;
        padding: 4px 8px;
        border-radius: 4px;
        border: 1px solid #dee2e6;
        color: #d63384;
    }


/* Percentage widths used by Razor-selected progress classes. */
.progress-width-0 { width: 0%; }
.progress-width-1 { width: 1%; }
.progress-width-2 { width: 2%; }
.progress-width-3 { width: 3%; }
.progress-width-4 { width: 4%; }
.progress-width-5 { width: 5%; }
.progress-width-6 { width: 6%; }
.progress-width-7 { width: 7%; }
.progress-width-8 { width: 8%; }
.progress-width-9 { width: 9%; }
.progress-width-10 { width: 10%; }
.progress-width-11 { width: 11%; }
.progress-width-12 { width: 12%; }
.progress-width-13 { width: 13%; }
.progress-width-14 { width: 14%; }
.progress-width-15 { width: 15%; }
.progress-width-16 { width: 16%; }
.progress-width-17 { width: 17%; }
.progress-width-18 { width: 18%; }
.progress-width-19 { width: 19%; }
.progress-width-20 { width: 20%; }
.progress-width-21 { width: 21%; }
.progress-width-22 { width: 22%; }
.progress-width-23 { width: 23%; }
.progress-width-24 { width: 24%; }
.progress-width-25 { width: 25%; }
.progress-width-26 { width: 26%; }
.progress-width-27 { width: 27%; }
.progress-width-28 { width: 28%; }
.progress-width-29 { width: 29%; }
.progress-width-30 { width: 30%; }
.progress-width-31 { width: 31%; }
.progress-width-32 { width: 32%; }
.progress-width-33 { width: 33%; }
.progress-width-34 { width: 34%; }
.progress-width-35 { width: 35%; }
.progress-width-36 { width: 36%; }
.progress-width-37 { width: 37%; }
.progress-width-38 { width: 38%; }
.progress-width-39 { width: 39%; }
.progress-width-40 { width: 40%; }
.progress-width-41 { width: 41%; }
.progress-width-42 { width: 42%; }
.progress-width-43 { width: 43%; }
.progress-width-44 { width: 44%; }
.progress-width-45 { width: 45%; }
.progress-width-46 { width: 46%; }
.progress-width-47 { width: 47%; }
.progress-width-48 { width: 48%; }
.progress-width-49 { width: 49%; }
.progress-width-50 { width: 50%; }
.progress-width-51 { width: 51%; }
.progress-width-52 { width: 52%; }
.progress-width-53 { width: 53%; }
.progress-width-54 { width: 54%; }
.progress-width-55 { width: 55%; }
.progress-width-56 { width: 56%; }
.progress-width-57 { width: 57%; }
.progress-width-58 { width: 58%; }
.progress-width-59 { width: 59%; }
.progress-width-60 { width: 60%; }
.progress-width-61 { width: 61%; }
.progress-width-62 { width: 62%; }
.progress-width-63 { width: 63%; }
.progress-width-64 { width: 64%; }
.progress-width-65 { width: 65%; }
.progress-width-66 { width: 66%; }
.progress-width-67 { width: 67%; }
.progress-width-68 { width: 68%; }
.progress-width-69 { width: 69%; }
.progress-width-70 { width: 70%; }
.progress-width-71 { width: 71%; }
.progress-width-72 { width: 72%; }
.progress-width-73 { width: 73%; }
.progress-width-74 { width: 74%; }
.progress-width-75 { width: 75%; }
.progress-width-76 { width: 76%; }
.progress-width-77 { width: 77%; }
.progress-width-78 { width: 78%; }
.progress-width-79 { width: 79%; }
.progress-width-80 { width: 80%; }
.progress-width-81 { width: 81%; }
.progress-width-82 { width: 82%; }
.progress-width-83 { width: 83%; }
.progress-width-84 { width: 84%; }
.progress-width-85 { width: 85%; }
.progress-width-86 { width: 86%; }
.progress-width-87 { width: 87%; }
.progress-width-88 { width: 88%; }
.progress-width-89 { width: 89%; }
.progress-width-90 { width: 90%; }
.progress-width-91 { width: 91%; }
.progress-width-92 { width: 92%; }
.progress-width-93 { width: 93%; }
.progress-width-94 { width: 94%; }
.progress-width-95 { width: 95%; }
.progress-width-96 { width: 96%; }
.progress-width-97 { width: 97%; }
.progress-width-98 { width: 98%; }
.progress-width-99 { width: 99%; }
.progress-width-100 { width: 100%; }
