/* style.css - Added dropdown menu styles */

@media (max-width: 768px) {
.container {
    width: 95%;
}

.no-border th, .no-border td {
    padding: 6px 4px;
}

.feature-card {
    padding-left: 10px;
}

/* Mobile navigation adjustments */
.dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: #333333;
}

.dropdown-content a {
    padding: 10px 15px 10px 25px;
    text-align: left;
}

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

body {
    font-family: sans-serif;
    padding: 0;
    background-color: #2a2a2a;
}

p, td {
    background-color: transparent;
    font-family: sans-serif;
    color: #c9c9c9;
    margin: 10px;
    padding: 0;
}

h2, h3, h4 {
letter-spacing: 0.5px;
}

p, td, li {
line-height: 1.6;
}

a {
    color: #6893cc;
    text-decoration: none;
}

a:hover {
    color: #a3c9ff;
    text-decoration: underline;
}

th {
    background: transparent;
    font-weight:bold;
    color: #df9fe0;
}

blockquote {
background: #2a2a2a;
border-left: 4px solid #e6a1b1;
margin: 10px 0;
padding: 10px 15px;
border-radius: 0 5px 5px 0;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.table-container {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
margin: 0 -15px;
padding: 0 15px;
}

.sortable-table {
min-width: 600px;
}

.feature-card table.no-border {
min-width: 500px;
}

/* Only apply overflow to feature-cards that DON'T contain table-container */
.feature-card:not(:has(.table-container)) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.header {
    background: #3d3d3d;
    color: #df9fe0;
    text-align: center;
    padding: 1em 0;
}

.nav {
    background: #2d2d2d;
    padding: 0.5em 0;
}

.nav ul {
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.nav li {
    display: inline;
    margin: 0 1em;
    position: relative;
}

.nav li a {
    transition: color 0.3s ease;
    font-weight: bold;
}

.nav li a:hover {
    color: #df9fe0;
}

/* Dropdown menu styles */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-icon {
    font-size: 10px;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1d1d1d;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: left;
    border-radius: 0 0 5px 5px;
    border-top: 2px solid #df9fe0;
}

.dropdown-content a {
    color: #c9c9c9;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #333333;
    color: #df9fe0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.main {
    padding: 1em 0;
}

.command {
padding: 2px 4px;
background: rgba(230, 161, 177, 0.1);
border-radius: 3px;
font-weight: bold;
color: #e6a1b1;
font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Consolas", "Courier New", monospace;
}

.content {
    background: #1d1d1d;
    color: #c9c9c9;
    padding: 1em;
    border-radius: 5px;
}

.footer {
    background: #2d2d2d;
    color: #df9fe0;
    text-align: center;
    padding: 1em 0;
    margin-top: 1em;
}

.no-border {
    width: 100%;
    border-collapse: collapse; /* Essential for removing borders*/
}

.no-border th {
padding: 12px 8px;
text-align: left;
border-bottom: 2px solid #df9fe0;
}

.no-border tr {
border-bottom: 1px solid #3d3d3d;
transition: background-color 0.2s ease;
}

.no-border tr:hover {
background-color: #333333;
}

.no-border tr:nth-child(even) {
    background-color: #2f2f2f; /*Optional even row coloration*/
}

.no-border td {
    padding: 8px;
    text-align: left;
}

.schedule-section {
    margin-bottom: 20px;
    border-left: 3px solid #df9fe0;
    padding-left: 15px;
}

.schedule-heading {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2em;
    color: #df9fe0;
}

.schedule-heading span {
    margin-right: 10px;
}

.time {
    font-weight: bold;
    color: #e6a1b1;
    font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Consolas", "Courier New", monospace;
}

.note {
    font-style: italic;
    color: #8a8a8a;
    font-size: 0.9em;
    border-top: 1px solid #3d3d3d;
    padding: 6px 4px;
}
.cute-icon {
    font-size: 1.5em;
    margin-right: 10px;
    vertical-align: middle;
}

.feature-card {
background: #222222;
border-radius: 5px;
border-left: 3px solid #df9fe0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
padding-left: 15px;
margin-bottom: 20px;
transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateX(5px);
}

.feature-title {
    color: #df9fe0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.welcome-message {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid #3d3d3d;
}

.welcome-message h2 {
    color: #e6a1b1;
    margin-top: 0;
}

.button {
    display: inline-block;
    background: #3d3d3d;
    color: #df9fe0;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.button:hover {
    background: #4d4d4d;
    color: #e6a1b1;
    text-decoration: none;
}

/* Additional CSS for status indicator */

.status-container {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border: 2px solid;
    transition: all 0.3s ease;
}

.status-sleeping {
    background-color: rgba(230, 161, 177, 0.1);
    border-color: #e6a1b1;
}

.status-working {
    background-color: rgba(223, 159, 224, 0.1);
    border-color: #df9fe0;
}

.status-available {
    background-color: rgba(104, 147, 204, 0.1);
    border-color: #6893cc;
}

.status-icon {
    font-size: 1.8em;
    margin-right: 10px;
    vertical-align: middle;
}

.status-text {
    display: inline-block;
    margin: 0;
    letter-spacing: 1px;
    font-weight: bold;
    position: relative;
}

.status-pulse {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.status-sleeping .status-pulse {
    background-color: #e6a1b1;
}

.status-working .status-pulse {
    background-color: #df9fe0;
}

.status-available .status-pulse {
    background-color: #6893cc;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 161, 177, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 161, 177, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 161, 177, 0);
    }
}

.status-available .status-pulse {
    animation: pulse-available 2s infinite;
}

@keyframes pulse-available {
    0% {
        box-shadow: 0 0 0 0 rgba(104, 147, 204, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(104, 147, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(104, 147, 204, 0);
    }
}

.status-working .status-pulse {
    animation: pulse-working 2s infinite;
}

@keyframes pulse-working {
    0% {
        box-shadow: 0 0 0 0 rgba(223, 159, 224, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(223, 159, 224, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(223, 159, 224, 0);
    }
}

/* Character result click indicator */
.character-result {
cursor: pointer;
}

.character-result:after {
content: "→";
margin-left: 10px;
color: #e6a1b1;
font-weight: bold;
opacity: 0;
transition: opacity 0.3s ease, transform 0.3s ease;
}

.character-result:hover:after {
opacity: 1;
transform: translateX(5px);
}

/* Modal styles */
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 1000;
overflow-y: auto;
}

.modal-content {
position: relative;
background: #1d1d1d;
margin: 5% auto;
padding: 20px;
width: 80%;
max-width: 800px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
animation: modalFadeIn 0.3s ease-in-out;
}

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

.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 2px solid #2a2a2a;
padding-bottom: 10px;
margin-bottom: 15px;
}

.modal-header h2 {
color: #df9fe0;
background-color: transparent;
margin: 0;
}


.modal-content h4 {
color: #df9fe0;
background-color: transparent;
margin: 0;
}

.modal-close {
color: #8a8a8a;
font-size: 28px;
font-weight: bold;
cursor: pointer;
transition: color 0.2s ease;
}

.modal-close:hover {
color: #df9fe0;
}

.modal-body {
margin-bottom: 20px;
}

.modal-body div {
color: #8a8a8a;
background-color: transparent;
}

.modal-body strong {
color: #df9fe0;
font-weight: bold;
}

.character-overview {
display: flex;
margin-bottom: 25px;
}

.match-summary {
flex: 1;
}

.match-percentage-display {
font-size: 24px;
margin: 15px 0;
}

#modal-match-percentage {
color: #e6a1b1;
font-size: 36px;
font-weight: bold;
}

.compatibility-breakdown {
margin-bottom: 25px;
}

.section-compatibility {
background: #2a2a2a;
padding: 12px;
border-radius: 5px;
margin-bottom: 10px;
}

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

.section-title {
font-weight: bold;
color: #df9fe0;
}

.section-score {
color: #e6a1b1;
}

.section-bar-container {
background: #1d1d1d;
height: 8px;
border-radius: 4px;
overflow: hidden;
}

.section-bar {
height: 100%;
background: #df9fe0;
transition: width 1s ease;
}

.highlights-container {
display: flex;
gap: 20px;
margin-bottom: 25px;
}

.compatibility-highlights {
flex: 1;
background: #2a2a2a;
padding: 15px;
border-radius: 5px;
}

.compatibility-highlights h3 {
color: #df9fe0;
margin-top: 0;
margin-bottom: 10px;
}

.compatibility-highlights ul {
padding-left: 20px;
margin: 0;
}

.compatibility-highlights li {
margin-bottom: 8px;
}

.character-details {
background: #2a2a2a;
padding: 15px;
border-radius: 5px;
}

.character-details h3 {
color: #df9fe0;
margin-top: 0;
margin-bottom: 10px;
}

.modal-footer {
text-align: center;
}