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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #002B5B;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-container {
    max-width: 428px;
    margin: 0 auto;
    min-height: 100vh;
    background: #002B5B;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    padding: 24px 24px 16px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: #002B5B;
}

.logo-text h1 {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 2px;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.profile-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Company Selector */
.company-selector {
    position: relative;
    z-index: 10;
}

.company-dropdown-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
}

.company-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.dropdown-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.building-icon {
    width: 20px;
    height: 20px;
    color: #60A5FA;
}

.company-dropdown-btn span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.chevron-icon {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px;
    margin-top: 8px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #F9FAFB;
}

.dropdown-item span {
    color: #6B7280;
    font-weight: 500;
    font-size: 14px;
}

.dropdown-item.selected span {
    color: #002B5B;
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
}

/* Date Card */
.date-card {
    margin: 0 24px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.date-weekday {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: capitalize;
}

.date-number {
    text-align: right;
}

.day {
    color: white;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.month {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

/* Clock Card */
.clock-card {
    margin: 0 24px 16px;
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F9FAFB;
    border-radius: 20px;
    padding: 8px 16px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F97316;
}

.status-dot.active {
    background: #10B981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-badge span {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.clock-display {
    text-align: center;
    margin-bottom: 24px;
}

.time {
    color: #002B5B;
    font-size: 72px;
    font-weight: bold;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}

.seconds-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #D1D5DB;
}

.seconds-display span {
    color: #9CA3AF;
    font-size: 14px;
}

.action-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #002B5B 0%, #004080 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 43, 91, 0.3);
    transition: transform 0.2s;
}

.action-btn:active {
    transform: scale(0.95);
}

.action-btn.out {
    background: white;
    color: #EF4444;
    border: 2px solid #FEE2E2;
    box-shadow: none;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 24px 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 20px;
    height: 20px;
    color: #60A5FA;
    margin-bottom: 8px;
}

.stat-value {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
}

/* Records List */
.records-section {
    background: white;
    border-radius: 24px 24px 0 0;
    padding: 24px;
    min-height: 200px;
}

.records-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.records-header h2 {
    color: #111827;
    font-size: 18px;
    font-weight: bold;
}

.see-all-btn {
    background: none;
    border: none;
    color: #3B82F6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.records-list {
    display: flex;
    flex-direction: column;
}

.record-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
}

.record-item:last-child {
    border-bottom: none;
}

.record-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.record-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.record-badge.in {
    background: linear-gradient(135deg, #002B5B 0%, #004080 100%);
    color: white;
}

.record-badge.out {
    background: #F3F4F6;
    color: #6B7280;
}

.record-info h3 {
    color: #111827;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}

.record-info p {
    color: #6B7280;
    font-size: 14px;
}

.record-duration h4 {
    color: #002B5B;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    margin-bottom: 2px;
}

.record-duration p {
    color: #9CA3AF;
    font-size: 12px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 380px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    position: relative;
    padding: 8px;
    transition: all 0.2s;
}

.nav-icon {
    width: 24px;
    height: 24px;
    color: #9CA3AF;
    transition: color 0.2s;
}

.nav-label {
    font-size: 10px;
    font-weight: 500;
    color: #9CA3AF;
    transition: color 0.2s;
}

.nav-dot {
    width: 4px;
    height: 4px;
    background: #002B5B;
    border-radius: 50%;
    position: absolute;
    bottom: -4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.nav-item.active .nav-icon {
    color: #002B5B;
}

.nav-item.active .nav-label {
    color: #002B5B;
    font-weight: 700;
}

.nav-item.active .nav-dot {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.header {
    animation: fadeIn 0.8s ease-out;
}

.date-card {
    animation: slideUp 0.6s ease-out 0.1s backwards;
}

.clock-card {
    animation: scaleIn 0.6s ease-out 0.2s backwards;
}

.stats-grid {
    animation: slideUp 0.6s ease-out 0.3s backwards;
}

.records-section {
    animation: slideUp 0.6s ease-out 0.4s backwards;
}

/* Enhanced Interactions */
.nav-item:active {
    transform: scale(0.9);
}

.record-item {
    transition: transform 0.2s, background-color 0.2s;
    border-radius: 12px;
}

.record-item:hover {
    background-color: #F9FAFB;
    transform: translateX(5px);
    padding-left: 8px;
    padding-right: 8px;
}

.record-item {
    animation: fadeIn 0.5s ease-out backwards;
}

/* MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: flex-end; /* Default bottom sheet */
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 428px;
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.modal-content.bottom-sheet {
    border-radius: 24px 24px 0 0;
    max-height: 80vh;
    animation: slideUp 0.3s ease-out;
    padding-bottom: 20px;
}

.modal-content.full-screen {
    height: 100%;
    max-width: 100%;
    background: #000;
    animation: fadeIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #F3F4F6;
}

.modal-content.full-screen .modal-header {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
}

.modal-content.full-screen .modal-header h3 {
    color: white;
}

.close-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: #6B7280;
    background: #F3F4F6;
}

.modal-content.full-screen .close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Station List */
.station-list {
    padding: 16px;
    overflow-y: auto;
    max-height: 60vh;
}

.station-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #F3F4F6;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.station-item:hover {
    background: #F9FAFB;
    border-color: #E5E7EB;
    transform: scale(1.02);
}

.station-icon {
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
}

.station-icon svg {
    width: 24px;
    height: 24px;
}

.station-info {
    flex: 1;
}

.station-name {
    font-weight: bold;
    color: #111827;
    margin-bottom: 4px;
}

.station-distance {
    font-size: 13px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.distance-badge {
    background: #ECFDF5;
    color: #059669;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Camera */
.camera-wrapper {
    flex: 1;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.face-guide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.face-frame {
    width: 280px;
    height: 350px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 140px; /* Oval shape */
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.camera-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

#face-status {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.capture-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.capture-btn:active {
    transform: scale(0.9);
}

.capture-inner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2000;
    min-width: 320px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: #ECFDF5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    flex-shrink: 0;
}

.toast-icon svg {
    width: 24px;
    height: 24px;
}

.toast-content {
    flex: 1;
}

.toast-content h4 {
    color: #111827;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}

.toast-content p {
    color: #6B7280;
    font-size: 14px;
}

/* Countdown Overlay */
.countdown-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: bold;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.3s;
}

.countdown-overlay.active {
    opacity: 1;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}
.toast.error .toast-icon {
    background: #FEE2E2;
    color: #EF4444;
}

.header-page{
    padding: 6px 24px 6px;
}

/* History Page Styles */
.history-filter-card {
    margin: 0 24px 16px;
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.filter-nav-btn {
    background: #EFF6FF;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-nav-btn:hover {
    background: #DBEAFE;
}

.period-label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.history-list {
    padding: 0 24px;
}

.history-item {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 8px;
}

.history-date {
    font-weight: bold;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-weekday {
    font-size: 12px;
    color: #6B7280;
    font-weight: normal;
    text-transform: capitalize;
}

.history-actions-btn {
    background: none;
    border: none;
    color: #9CA3AF;
    padding: 4px;
    cursor: pointer;
    border-radius: 50%;
}

.history-actions-btn:hover {
    background: #F3F4F6;
    color: #4B5563;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.history-time-block {
    text-align: center;
}

.history-time-label {
    font-size: 10px;
    color: #9CA3AF;
    margin-bottom: 2px;
    display: block;
}

.history-time-value {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #F9FAFB;
    padding: 6px 4px;
    border-radius: 8px;
    border: 1px solid #F3F4F6;
}

.history-time-value.empty {
    color: #D1D5DB;
    font-weight: normal;
}

/* History Dropdown Menu */
.history-dropdown {
    position: absolute;
    top: 40px;
    right: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    z-index: 20;
    width: 180px;
    display: none;
    overflow: hidden;
}

.history-dropdown.show {
    display: block;
    animation: fadeIn 0.1s ease-out;
}

.history-dropdown-item {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    background: none;
    border: none;
    font-size: 13px;
    color: #4B5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-dropdown-item:hover {
    background: #F9FAFB;
    color: #111827;
}

.history-dropdown-item svg {
    width: 16px;
    height: 16px;
}

/* Adjustment Modal Styles */
.warning-box {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.warning-box svg {
    width: 20px;
    height: 20px;
    color: #F59E0B;
    flex-shrink: 0;
}

.warning-box p {
    color: #92400E;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.info-text {
    color: #6B7280;
    font-size: 13px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.adjustment-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.adjustment-row {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 12px;
    align-items: center;
}

.adj-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.adj-current {
    background: #F3F4F6;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #6B7280;
    text-align: center;
}

.adj-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    text-align: center;
    outline: none;
    transition: border-color 0.2s;
}

.adj-input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: inherit;
}

.form-group textarea:focus {
    border-color: #3B82F6;
}

.file-upload-box {
    border: 1px dashed #D1D5DB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F9FAFB;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #E5E7EB;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.file-upload-label svg {
    width: 16px;
    height: 16px;
    color: #6B7280;
}

.file-name {
    font-size: 13px;
    color: #6B7280;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Primary Button Global Style */
.main-action-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #002B5B 0%, #004080 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 43, 91, 0.2);
    transition: all 0.2s;
    margin-top: 12px;
}

.main-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 43, 91, 0.3);
}

.main-action-btn:active {
    transform: translateY(0);
}

/* Tracking Modal Styles */
.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E7EB;
}

.tracking-date {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Status Variants */
.status-pending {
    background: #FEF3C7;
    color: #92400E;
}
.status-pending .status-dot {
    background: #F59E0B;
}

.status-accepted {
    background: #D1FAE5;
    color: #065F46;
}
.status-accepted .status-dot {
    background: #10B981;
}

.status-rejected {
    background: #FEE2E2;
    color: #991B1B;
}
.status-rejected .status-dot {
    background: #EF4444;
}

.read-only-box {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.attachment-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F3F4F6;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.attachment-preview svg {
    width: 20px;
    height: 20px;
    color: #6B7280;
}

.rejection-group {
    margin-top: 24px;
    animation: fadeIn 0.3s ease-out;
}

.rejection-label {
    color: #DC2626 !important;
}

.rejection-box {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #991B1B;
}

.adjustment-grid.read-only .adj-input {
    background: #F3F4F6;
    border-color: transparent;
    pointer-events: none;
    color: #6B7280;
}

