body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 80px;
    /*background-image: url('@Url.Content("~/assets/images/NumBG.jpg")');*/
    background-image: url('/assets/images/NumBG.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    height: 40px;
    margin-right: 15px;
}

.brand {
    font-size: 22px;
    font-weight: bold;
    color: orange;
    font-family: "cursive", "Courier New", monospace;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 80%;
    max-width: 500px;
    margin: 30px auto;
}


label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

input[type="text"] {
    width: calc(100% - 60px);
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    font-size: 20px;
    padding: 10px 15px;
    margin: -15px 0px 0px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.input-group {
    display: flex;
    align-items: center;
}

.result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}

.green {
    color: green;
}

.yellow-green {
    color: #9ACD32;
}

.orange {
    color: orange;
}

.red {
    color: red;
}

.legend {
    margin: 40px auto;
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    box-sizing: border-box;
}


    .legend h3 {
        margin-bottom: 15px;
    }

.legend-item {
    margin: 5px 0;
    font-weight: bold;
}

@keyframes breath {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 10px;
    right: 20px;
    font-size: 14px;
    font-weight: bold;
    color: orangered;
    font-family: "Lucida Console", "Courier New", monospace;
    background: #fff;
    padding: 3px 5px 5px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.planet-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .planet-table th {
        background-color: #007bff;
        color: white;
        padding: 12px;
        text-align: left;
        text-align: center;
    }

    .planet-table td {
        padding: 12px;
        border-bottom: 1px solid #e0e0e0;
    }

    .planet-table tr:nth-child(even) {
        background-color: #f8f9fa;
    }

    .planet-table tr:last-child td {
        border-bottom: none;
    }

    /* Color coding numbers to match your legend */
    .planet-table tr td:first-child {
        font-weight: bold;
        /*color: #007bff;*/
    }
/* Color-coded rows */
.green-row {
    background-color: rgba(0, 128, 0, 0.1) !important;
    border-left: 4px solid green;
    color: green;
    font-weight: bold;
}

.yellow-green-row {
    background-color: rgba(154, 205, 50, 0.1) !important;
    border-left: 4px solid #9ACD32;
    color: yellowgreen;
    font-weight: bold;
}

.orange-row {
    background-color: rgba(255, 165, 0, 0.1) !important;
    border-left: 4px solid orange;
    color: orange;
    font-weight: bold;
}

.red-row {
    background-color: rgba(255, 0, 0, 0.1) !important;
    border-left: 4px solid red;
    color: red;
    font-weight: bold;
}

/* Keep existing table styles */
.planet-table tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.planet-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.modern-table-container {
    background: white;
    border-radius: 12px;
    /*padding: 15px;*/
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
}

    .modern-table th {
        background: linear-gradient(to right, #007bff, #00a5ff);
        color: white;
        padding: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: none;
    }

        .modern-table th:first-child {
            border-radius: 10px 0 0 0;
        }

        .modern-table th:last-child {
            border-radius: 0 10px 0 0;
        }

    .modern-table td {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .modern-table tr:last-child td {
        border-bottom: none;
    }

/* Colorful Rows */
.powerful-row {
    background-color: rgba(0, 200, 83, 0.1);
}

    .powerful-row:hover {
        background-color: rgba(0, 200, 83, 0.2);
    }

.normal-row {
    background-color: rgba(154, 205, 50, 0.1);
}

    .normal-row:hover {
        background-color: rgba(154, 205, 50, 0.2);
    }

.average-row {
    background-color: rgba(255, 145, 0, 0.1);
}

    .average-row:hover {
        background-color: rgba(255, 145, 0, 0.2);
    }

.weak-row {
    background-color: rgba(255, 54, 54, 0.1);
}

    .weak-row:hover {
        background-color: rgba(255, 54, 54, 0.2);
    }

/* Number Badges */
.number-cell {
    font-weight: bold;
    position: relative;
}

.powerful-row .number-cell {
    color: #00a84f;
}

.normal-row .number-cell {
    color: yellowgreen;
}

.average-row .number-cell {
    color: #ff9100;
}

.weak-row .number-cell {
    color: #ff3636;
}

/* Hover Effects */
.modern-table tr {
    transition: all 0.3s ease;
}

    .modern-table tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    }


/* Card Container */
.num-card {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    width: 88%;
    max-width: 520px;
    margin: 25px auto;
    transition: all 0.3s ease;
    border: 1px solid #e3f2fd;
}

.num-card-hover:hover {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
    transform: translateY(-3px);
}

/* Input Field */
.num-field {
    width: calc(100% - 130px);
    padding: 13px 16px;
    font-size: 16px;
    border: 2px solid #e1f5fe;
    border-radius: 10px;
    transition: all 0.3s;
    background: #f5fbff;
    color: #01579b;
}

    .num-field:focus {
        border-color: #4fc3f7;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(100, 181, 246, 0.2);
        outline: none;
    }

/* Button */
.num-btn {
    font-size: 16px;
    padding: 13px 22px;
    margin: 0px 0px 15px 5px;
    background: linear-gradient(135deg, #0288d1, #03a9f4);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 6px rgba(2, 136, 209, 0.2);
}

    .num-btn:hover {
        background: linear-gradient(135deg, #0277bd, #039be5);
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(2, 136, 209, 0.3);
    }

    .num-btn:active {
        transform: translateY(0);
    }

.num-btn-text {
    margin-right: 8px;
    font-weight: 500;
}

.num-btn-icon {
    font-weight: bold;
    font-size: 18px;
}

/* Input Group */
.num-input-group {
    display: flex;
    align-items: center;
}

/* Result Display */
.num-result {
    margin-top: 22px;
    font-size: 18px;
    font-weight: 600;
    padding: 16px;
    border-radius: 10px;
    background: rgba(2, 136, 209, 0.06);
    transition: all 0.3s;
    border-left: 4px solid #0288d1;
}

/* First Name Display */
.num-name-display {
    font-weight: 600;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #e1f5fe;
    border-radius: 8px;
    color: #0277bd;
    display: none;
    border-left: 4px solid #0288d1;
}

/* Color Classes (New Names) */
.num-green {
    color: #2e7d32;
}

.num-yellow {
    color: #9e9d24;
}

.num-orange {
    color: #ff8f00;
}

.num-red {
    color: #c62828;
}


/* table note */
.disclaimer-note {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.disclaimer-note strong {
    color: #333;
}

.disclaimer-note ul {
    margin: 10px 0 10px 20px;
    padding-left: 15px;
}

.disclaimer-note li {
    margin-bottom: 5px;
}


/* Responsive Header */
.num-header {
    background: linear-gradient(135deg, #007bff, #00a5ff);
    color: white;
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    /*margin: 0 auto;*/
}

.header-logo {
    height: 36px;
    margin-right: 15px;
    transition: transform 0.3s;
}

.header-brand {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: #FFD700;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    flex-grow: 1;
}

.header-nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .num-header {
        padding: 10px 15px;
    }

    .header-logo {
        height: 32px;
        margin-right: 10px;
    }

    .header-brand {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .header-brand {
        font-size: 16px;
    }

    .header-nav-toggle {
        /*display: block;*/
    }
}

/* Hover Effects */
.header-logo:hover {
    transform: rotate(15deg);
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.status {
    text-align: center;
}