/* HostVault Custom Styles */

:root {
    --hv-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

/* Card & Table Polish */
.card {
    transition: box-shadow 0.2s ease-in-out;
}

.table th {
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

.font-monospace {
    font-family: var(--hv-font-mono) !important;
}

/* Provider Badges */
.badge-provider {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Copy Button Micro-interactions */
.btn-copy {
    transition: transform 0.1s ease, background-color 0.15s ease;
}
.btn-copy:active {
    transform: scale(0.92);
}

/* Password Mask Effect */
.password-masked {
    letter-spacing: 0.15em;
    font-weight: bold;
    user-select: none;
}

/* Stats Card Accent */
.stat-card {
    border-radius: 1rem;
    border: none;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12) !important;
}

/* Quick Search Container */
.search-box {
    position: relative;
}
.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.5;
}
.search-box input {
    padding-left: 2.25rem;
}

/* Toast Container */
.toast-container {
    z-index: 1080;
}

/* Smooth Transition for Theme switching */
html {
    transition: background-color 0.2s ease, color 0.2s ease;
}
