html, body {
    height: 100%;
}

:root, html, body {
    font-family: 'Inter', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    font-smooth: always;
    -moz-osx-font-smoothing: auto;
}

.server {
    padding: 0.5rem 1rem;
}

.add-servers-form {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    max-width: 500px;
    /* margin-left: auto; */
    white-space: nowrap;
    align-items: center;
    justify-self: center;
}

.tr {
    align-items: center;
}

.options > div {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: end;
}

.options-th {
    text-align: right;
}

.container.main-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    /* margin-bottom: auto; */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.server-ip {
    font-family: monospace;
    user-select: all;
    cursor: pointer;
}

.servers-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.ssh-keys-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ssh-warning {
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


.settings {
}

.uuid {
    /* max-width: 15ch; */
    user-select: all;
    cursor: pointer;
}

[data-is-deleted='1'] {
    opacity: 50%;
}

/* Dashboard Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
}

.stat-icon {
    font-size: 1.75rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

/* Servers Table */
.servers-table {
    margin-top: 1rem;
}

.servers-table th {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--bs-secondary-color);
    border-bottom-width: 1px;
}

.servers-table td {
    vertical-align: middle;
}

.server-name {
    font-weight: 500;
}

.server-date {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

.dashboard-container {
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(220, 53, 69, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bs-danger);
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 50%, #dc3545 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 1rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.hero-stat-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--bs-border-color);
}

/* Features Section */
.features-section {
    border-top: 1px solid var(--bs-border-color);
}

.feature-card {
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: var(--bs-danger);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--bs-danger);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
    border-top: 1px solid var(--bs-border-color);
}

.pricing-card {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 1px var(--bs-danger);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--bs-danger);
    border-radius: 1rem;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.pricing-features i {
    color: var(--bs-success);
}

/* Footer CTA */
.footer-cta {
    border-top: 1px solid var(--bs-border-color);
}

.hero-note {
    font-size: 0.9rem;
    color: var(--bs-warning);
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
}

/* Feature Cards - Large Variant */
.feature-card-lg {
    padding: 2rem;
}

.feature-card-lg h3 {
    font-size: 1.25rem;
}

.feature-card-lg p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-code {
    display: block;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.375rem;
    font-size: 0.85rem;
    color: var(--bs-danger);
    overflow-x: auto;
    white-space: nowrap;
}

.feature-card code:not(.feature-code) {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.85em;
}

/* Technical Requirements Callout */
.tech-requirements {
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0.75rem;
    background: rgba(255, 193, 7, 0.05);
}

.tech-requirements-inner {
    padding: 1.5rem 2rem;
}

.tech-requirements h4 {
    color: var(--bs-warning);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.tech-requirements p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tech-requirements ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.tech-requirements li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--bs-body-color);
}

/* Responsive */
/* Dashboard Server Stats */
.stats-mini {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-mini {
    font-size: 0.8rem;
    white-space: nowrap;
}

.stat-mini i {
    width: 1rem;
    display: inline-block;
}

.server-row td {
    vertical-align: middle;
}

.server-row code {
    font-size: 0.8rem;
}

/* Quick Reference Cards */
.ref-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

.ref-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.5rem;
}

.ref-card code {
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

/* Empty State */
.empty-state i {
    display: block;
}

/* Settings Container */
.settings-container .nav-tabs .nav-link {
    color: var(--bs-secondary-color);
}

.settings-container .nav-tabs .nav-link.active {
    color: var(--bs-body-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .hero-stat-divider {
        display: none;
    }
    .tech-requirements-inner {
        padding: 1.25rem;
    }
    .stats-mini {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
