    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
        min-height: 100vh;
        color: #333;
    }

.border-green {
    border: 2px solid #28a745; /* bright green */
    border-radius: 10px;
}
    /* Logo */
    .logo {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 12px 20px;
        border-radius: 25px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 1.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: all 0.3s ease;
    }

    .logo:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    /* Floating Navigation */
    .floating-nav {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 50px;
        padding: 10px 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .nav-items {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .nav-item {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 25px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .nav-item:hover {
        background: linear-gradient(135deg, #1B5E3E, #285E42);
        color: white;
        transform: translateY(-1px);
    }

    .nav-item.active {
        background: linear-gradient(135deg, #1B5E3E, #285E42);
        color: white;
    }

    /* Main Container */
    .container {
        max-width: 1400px;
        margin: 100px auto 20px;
        padding: 0 20px;
    }

    /* Content Sections */
    .content-section {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 30px;
        border-radius: 20px;
        margin-bottom: 30px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .section-title {
        font-size: 1.8rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #eee;
    }

    /* Stage Pipeline */
    .stage-pipeline {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .stage-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 25px;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .stage-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .stage-number {
        font-size: 2.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, #1B5E3E, #285E42);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 10px;
    }

    .stage-name {
        font-size: 0.9rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 5px;
    }

    .stage-count {
        font-size: 0.8rem;
        color: #666;
    }

    /* Forms */
    .form-container {
        background: rgba(255, 255, 255, 0.8);
        padding: 30px;
        border-radius: 15px;
        margin: 20px 0;
    }

    .form-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
    }

    .form-input, .form-select, .form-textarea {
        width: 100%;
        padding: 12px;
        border: 2px solid #e1e5e9;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
    }

    .form-input:focus, .form-select:focus, .form-textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .form-textarea {
        min-height: 100px;
        resize: vertical;
    }

    .required {
        color: #e74c3c;
    }

    /* Tables */
    .data-table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        border-radius: 10px;
        overflow: hidden;
        margin: 20px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .data-table th,
    .data-table td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    .data-table th {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        font-weight: 600;
    }

    .data-table tr:hover {
        background: rgba(102, 126, 234, 0.05);
    }

    .data-table tr:last-child td {
        border-bottom: none;
    }

    /* Table Actions */
    .table-actions {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        min-width: 180px;
    }

    .table-actions .btn {
        padding: 6px 12px;
        font-size: 11px;
        white-space: nowrap;
        min-width: auto;
    }

    /* Action Buttons */
    .action-buttons {
        display: flex;
        gap: 15px;
        margin: 20px 0;
        flex-wrap: wrap;
    }

    .btn {
        padding: 12px 24px;
        border: none;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
    }

    .btn-primary {
        background: linear-gradient(135deg, #1B5E3E, #285E42);
        color: white;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.8);
        color: #333;
        border: 1px solid #ddd;
    }

    .btn-secondary:hover {
        background: white;
        transform: translateY(-2px);
    }

    .btn-success {
        background: #28a745;
        color: white;
    }

    .btn-success:hover {
        background: #218838;
        transform: translateY(-2px);
    }

    .btn-warning {
        background: #ffc107;
        color: #212529;
    }

    .btn-warning:hover {
        background: #e0a800;
        transform: translateY(-2px);
    }

    .btn-danger {
        background: #dc3545;
        color: white;
    }

    .btn-danger:hover {
        background: #c82333;
        transform: translateY(-2px);
    }

    .btn-info {
        background: #17a2b8;
        color: white;
    }

    .btn-info:hover {
        background: #138496;
        transform: translateY(-2px);
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Status Badges */
    .status-badge {
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        color: white;
    }

    .status-new { background: #4CAF50; }
    .status-assessment { background: #FF9800; }
    .status-ground { background: #2196F3; }
    .status-desk { background: #9C27B0; }
    .status-installation { background: #F44336; }
    .status-submission { background: #795548; }
    .status-complete { background: #607D8B; }

    /* Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
    }

    .modal.show {
        display: block;
    }

    .modal-content {
        background: white;
        margin: 2% auto;
        padding: 30px;
        border-radius: 15px;
        width: 90%;
        max-width: 900px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        position: relative;
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #eee;
    }

    .modal-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #333;
    }

    .close {
        color: #aaa;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        line-height: 1;
    }

    .close:hover {
        color: #000;
    }

    /* Cards */
    .cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin: 20px 0;
    }

    .info-card {
        background: rgba(255, 255, 255, 0.8);
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .card-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
        color: #333;
    }

    .card-value {
        font-size: 2rem;
        font-weight: 700;
        background: linear-gradient(135deg, #52A555, #5CB85C);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Progress Bar */
    .progress-container {
        background: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
        height: 8px;
        margin: 10px 0;
        overflow: hidden;
    }

    .progress-bar {
        height: 100%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 10px;
        transition: width 0.5s ease;
    }

    /* Search and Filters */
    .search-filters {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        align-items: center;
    }

    .search-input {
        flex: 1;
        min-width: 250px;
        padding: 10px 15px;
        border: 2px solid #e1e5e9;
        border-radius: 25px;
        font-size: 1rem;
    }

    .search-input:focus {
        outline: none;
        border-color: #667eea;
    }

    .filter-select {
        padding: 10px 15px;
        border: 2px solid #e1e5e9;
        border-radius: 25px;
        background: white;
        cursor: pointer;
    }

    /* Document Checklist */
    .document-checklist {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
        margin: 20px 0;
    }

    .document-item {
        display: flex;
        align-items: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .document-item:hover {
        background: rgba(255, 255, 255, 0.9);
    }

    .document-checkbox {
        width: 20px;
        height: 20px;
        margin-right: 15px;
        accent-color: #667eea;
    }

    .document-name {
        font-weight: 500;
        flex-grow: 1;
    }

    .document-status {
        padding: 4px 8px;
        border-radius: 10px;
        font-size: 0.7rem;
        font-weight: 600;
        margin-right: 10px;
    }

    .status-pending { background: #ffecb3; color: #f57f17; }
    .status-uploaded { background: #c8e6c9; color: #2e7d32; }
    .status-verified { background: #bbdefb; color: #1565c0; }

    /* Toast Notifications */
    .toast-container {
        position: fixed;
        top: 100px;
        right: 20px;
        z-index: 3000;
        max-width: 400px;
    }

    .toast {
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-bottom: 10px;
        padding: 16px 20px;
        border-left: 4px solid;
        transform: translateX(450px);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        opacity: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .toast.show {
        transform: translateX(0);
        opacity: 1;
    }

    .toast.hide {
        transform: translateX(450px);
        opacity: 0;
    }

    .toast-success {
        border-left-color: #28a745;
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(255, 255, 255, 0.95));
    }

    .toast-error {
        border-left-color: #dc3545;
        background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 255, 255, 0.95));
    }

    .toast-warning {
        border-left-color: #ffc107;
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 255, 255, 0.95));
    }

    .toast-info {
        border-left-color: #17a2b8;
        background: linear-gradient(135deg, rgba(23, 162, 184, 0.1), rgba(255, 255, 255, 0.95));
    }

    .toast-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 14px;
        color: white;
        flex-shrink: 0;
    }

    .toast-success .toast-icon {
        background: #28a745;
    }

    .toast-error .toast-icon {
        background: #dc3545;
    }

    .toast-warning .toast-icon {
        background: #ffc107;
    }

    .toast-info .toast-icon {
        background: #17a2b8;
    }

    .toast-content {
        flex: 1;
    }

    .toast-title {
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 2px;
        color: #333;
    }

    .toast-message {
        font-size: 13px;
        color: #666;
        line-height: 1.4;
    }

    .toast-close {
        background: none;
        border: none;
        color: #999;
        cursor: pointer;
        font-size: 18px;
        padding: 0;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .toast-close:hover {
        background: rgba(0, 0, 0, 0.1);
        color: #333;
    }

    /* Responsive Design - Mobile First */
    @media (max-width: 480px) {
        .logo {
            position: relative;
            margin: 15px auto;
            text-align: center;
            width: fit-content;
            font-size: 1.2rem;
            padding: 8px 16px;
        }

        .floating-nav {
            position: relative;
            transform: none;
            border-radius: 15px;
            margin: 15px;
            padding: 8px 15px;
        }

        .nav-items {
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .nav-item {
            padding: 6px 12px;
            font-size: 12px;
        }

        .container {
            margin-top: 20px;
            padding: 0 10px;
        }

        .stage-pipeline {
            /* single-column stack for very small screens to avoid cramped cards */
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .content-section {
            padding: 20px 15px;
        }

        .form-grid {
            grid-template-columns: 1fr;
        }

        /* Make wide tables scrollable on small screens instead of overflowing */
        .data-table {
            font-size: 12px;
            display: block;
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            border-radius: 8px;
        }

        .data-table th,
        .data-table td {
            white-space: nowrap;
        }

        .table-actions {
            /* allow actions to wrap and not force a minimum width that breaks layout */
            flex-direction: row;
            gap: 6px;
            flex-wrap: wrap;
            min-width: 0;
            justify-content: flex-end;
        }

        /* Reduce padding and card sizes for small screens */
        .content-section { padding: 15px; }
        .action-buttons .btn { padding: 8px 14px; font-size: 13px; }
        .stage-card { padding: 16px; }
        .logo { top: 10px; left: 12px; padding: 6px 10px; font-size: 1rem; }
        .floating-nav { margin: 8px 10px; padding: 6px 10px; border-radius: 12px; }
        .nav-items { gap: 6px; }
        .cards-grid { grid-template-columns: 1fr; }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .stage-pipeline {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (min-width: 1025px) {
        .stage-pipeline {
            grid-template-columns: repeat(7, 1fr);
        }
    }
