/* get.servavm.com Custom CSS */
body {
    background: radial-gradient(circle at top right, #131b2e 0%, #090e17 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 2rem 0;
    overflow-x: hidden;
}

.installer-wrapper {
    width: 100%;
    max-width: 850px;
    padding: 0 15px;
}

.installer-card {
    background: rgba(18, 26, 47, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.installer-header {
    text-align: center;
    padding: 3rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.installer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.installer-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.installer-subtitle {
    color: #8b9bb4;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(0, 0, 0, 0.15);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 0.4;
    transition: all 0.4s ease;
}

.step.active {
    opacity: 1;
}

.step.active .step-icon {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    transform: scale(1.1);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
    transform: translateY(-12px);
}

/* Installer Body */
.installer-body {
    padding: 3rem;
    position: relative;
    min-height: 350px;
}

.step-content {
    display: none;
    animation: fadeInSlideUp 0.5s ease forwards;
}

.step-content.active {
    display: block;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.step-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Form Styling */
.form-label {
    font-weight: 500;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.input-group-text {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    color: #64748b;
}

.form-control {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    color: #fff;
}

.form-control::placeholder {
    color: #475569;
}

.form-control[readonly] {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary {
    background: #4f46e5;
    border-color: #4f46e5;
}

.btn-primary:hover {
    background: #4338ca;
    border-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Terminal Box */
.terminal-box {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    height: 250px;
    overflow-y: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #a5b4fc;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.terminal-line {
    margin-bottom: 4px;
    word-break: break-all;
}

/* Overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(9, 14, 23, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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