@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #007bff;
    --primary-hover: #0056b3;
    --bg-dark: #0a0a0b;
    --card-bg: rgba(20, 20, 22, 0.8);
    --text-main: #e1e1e1;
    --text-muted: #888;
    --border: rgba(255, 255, 255, 0.05);
    --success: #28a745;
    --error: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000 url(../img/bg-fundo-install.png) no-repeat;
    background-size: cover;
    background-position: right;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.install-container {
    width: 100%;
    max-width: 650px;
    padding: 20px;
    animation: slideUp 0.6s ease-out;
}

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

.install-card {
    background: #141416e3;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.install-header {
    text-align: center;
    margin-bottom: 40px;
}

.install-header img {
    height: 100px;
    margin-bottom: 0px;
}

.install-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.install-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Steps Indicator */
.install-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.install-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 32px;
    height: 32px;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.4s;
}

.step-item.active .step-dot {
    border-color: var(--primary);
    color: white;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.step-item.completed .step-dot {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.step-item.active .step-label {
    color: var(--text-main);
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ccc;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

/* Requirements List */
.req-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.req-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 15px 20px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.req-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.req-status.ok { color: var(--success); font-weight: 600; }
.req-status.error { color: var(--error); font-weight: 600; }

/* Buttons */
.btn-primary {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 123, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: #333;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Utils */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Footer */
.install-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.8rem;
}
