 .unit-search-wrapper {
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa726 100%);
        min-height: 100vh;
        color: #333;
        line-height: 1.6;
        position: relative;
        overflow-x: hidden;
        padding: 40px 0;
    }
    
    .unit-search-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        z-index: 0;
    }
    
    .floating-elements {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }
    
    .floating-circle {
        position: absolute;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(180deg); }
    }
    
    .unit-search-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        position: relative;
        z-index: 1;
    }
    
    .unit-search-header {
        background: linear-gradient(135deg, rgba(255, 87, 34, 0.95), rgba(255, 152, 0, 0.95));
        backdrop-filter: blur(20px);
        color: white;
        padding: 40px 30px;
        text-align: center;
        margin-bottom: 40px;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(255, 87, 34, 0.3);
        transform: translateY(0);
        animation: slideInDown 0.8s ease-out;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    @keyframes slideInDown {
        from { transform: translateY(-50px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .unit-search-title {
        font-size: 3rem;
        margin-bottom: 15px;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        background: linear-gradient(45deg, #fff, #ffe0b3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .unit-search-subtitle {
        font-size: 1.3rem;
        opacity: 0.95;
        font-weight: 300;
    }
    
    .search-container {
        margin: 40px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: fadeInUp 1s ease-out 0.3s both;
    }
    
    @keyframes fadeInUp {
        from { transform: translateY(30px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .search-box {
        display: flex;
        width: 100%;
        max-width: 600px;
        margin-bottom: 30px;
        position: relative;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50px;
        padding: 8px;
        box-shadow: 0 15px 35px rgba(255, 87, 34, 0.2);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }
    
    .search-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 40px rgba(255, 87, 34, 0.3);
    }
    
    .search-box.searching {
        animation: pulse 1.5s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { box-shadow: 0 15px 35px rgba(255, 87, 34, 0.2); }
        50% { box-shadow: 0 15px 35px rgba(255, 87, 34, 0.4), 0 0 30px rgba(255, 87, 34, 0.3); }
    }
    
    .search-input {
        flex: 1;
        padding: 18px 25px;
        border: none;
        border-radius: 50px;
        font-size: 16px;
        background: transparent;
        outline: none;
        color: #333;
        font-weight: 500;
    }
    
    .search-input::placeholder {
        color: #999;
    }
    
    .search-button {
        background: linear-gradient(135deg, #ff5722, #ff8a50);
        color: white;
        border: none;
        padding: 18px 30px;
        cursor: pointer;
        border-radius: 50px;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(255, 87, 34, 0.3);
    }
    
    .search-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }
    
    .search-button:hover::before {
        left: 100%;
    }
    
    .search-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(255, 87, 34, 0.4);
    }
    
    .search-button:active {
        transform: translateY(0);
    }
    
    .results-card {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 25px 50px rgba(255, 87, 34, 0.2);
        border-radius: 20px;
        overflow: hidden;
        display: none;
        border: 1px solid rgba(255, 255, 255, 0.3);
        animation: scaleIn 0.5s ease-out;
    }
    
    @keyframes scaleIn {
        from { transform: scale(0.9); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
    
    .card-header {
        background: linear-gradient(135deg, #ff6b35, #ff8c42);
        color: white;
        padding: 25px 30px;
        position: relative;
        overflow: hidden;
    }
    
    .card-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: rgba(255, 255, 255, 0.1);
        transform: rotate(45deg);
        animation: shimmer 3s ease-in-out infinite;
    }
    
    @keyframes shimmer {
        0%, 100% { transform: translateX(-100%) rotate(45deg); }
        50% { transform: translateX(100%) rotate(45deg); }
    }
    
    .card-header h2 {
        font-size: 1.8rem;
        font-weight: 600;
        position: relative;
        z-index: 1;
        margin: 0;
    }
    
    .card-body {
        padding: 30px;
    }
    
    .detail-row {
        display: flex;
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .detail-row:hover {
        background: linear-gradient(135deg, #fff5f2, #fff8f5);
        transform: translateX(5px);
    }
    
    .detail-row::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(135deg, #ff6b35, #ff8c42);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .detail-row:hover::before {
        transform: scaleY(1);
    }
    
    .detail-label {
        width: 200px;
        font-weight: 600;
        color: #ff5722;
        font-size: 1rem;
    }
    
    .detail-value {
        flex: 1;
        font-weight: 500;
        color: #333;
    }
    
    .unit-details {
        background: linear-gradient(135deg, #fff5f2, #fff8f5);
        border-radius: 16px;
        padding: 25px;
        margin-top: 20px;
        border: 2px solid rgba(255, 107, 53, 0.1);
        position: relative;
        overflow: hidden;
    }
    
    .unit-details::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #ff6b35, #ff8c42, #ffa726, #ff6b35);
        border-radius: 16px;
        z-index: -1;
        animation: borderGlow 3s linear infinite;
    }
    
    @keyframes borderGlow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    .unit-title {
        font-weight: 700;
        margin-bottom: 15px;
        color: #ff5722;
        font-size: 1.2rem;
    }
    
    .unit-content {
        line-height: 1.6;
        color: #333;
    }
    
    .unit-content p {
        margin-bottom: 10px;
    }
    
    .status-badge {
        padding: 10px 20px;
        border-radius: 25px;
        font-size: 0.95rem;
        font-weight: 600;
        display: inline-block;
        margin-top: 8px;
        background: linear-gradient(135deg, #4caf50, #66bb6a);
        color: white;
        box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
        animation: statusPulse 2s ease-in-out infinite;
    }
    
    @keyframes statusPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }
    
    .not-found {
        text-align: center;
        padding: 40px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(255, 87, 34, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: none;
        animation: shakeIn 0.6s ease-out;
    }
    
    @keyframes shakeIn {
        0% { transform: translateX(-10px); opacity: 0; }
        25% { transform: translateX(10px); }
        50% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
        100% { transform: translateX(0); opacity: 1; }
    }
    
    .not-found h3 {
        color: #ff5722;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .not-found p {
        color: #666;
        font-size: 1.1rem;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top: 4px solid #ff5722;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 20px;
        display: none;
    }
    
    .error-message {
        text-align: center;
        padding: 40px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(255, 87, 34, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: none;
        animation: shakeIn 0.6s ease-out;
    }
    
    .error-message h3 {
        color: #f44336;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .error-message p {
        color: #666;
        font-size: 1.1rem;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .search-tips {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        margin-top: 30px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        animation: fadeInUp 1s ease-out 0.6s both;
    }
    
    .search-tips h3 {
        color: #ff5722;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }
    
    .search-tips p {
        color: #666;
        font-size: 0.95rem;
    }
    
    @media (max-width: 768px) {
        .unit-search-title { font-size: 2.2rem; }
        .unit-search-container { padding: 15px; }
        .search-box { margin: 0 15px 30px; }
        .detail-row { flex-direction: column; padding: 12px; }
        .detail-label { width: 100%; margin-bottom: 5px; }
        .card-body { padding: 20px; }
    }

.crn-popup {
    display: none;
    background: #ffe0e0;
    color: #b00020;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ffcccc;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
