/* Modern Installer Styles */
body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.installer-wrapper {
    max-width: 900px;
    margin: 50px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.installer-header {
    background: #fff;
    padding: 20px 30px;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.installer-logo img {
    max-height: 40px;
}

.installer-steps {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e4e8;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    cursor: default;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.step-item.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background: #fff;
}

.step-item.completed {
    color: #28a745;
}

.step-icon {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.installer-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.installer-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Form Styles */
.form-section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 10px 12px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    border-color: #80bdff;
}

.btn-primary-install {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary-install:hover {
    background-color: #0056b3;
    border-color: #004a99;
}

.permission-list {
    list-style: none;
    padding: 0;
}

.permission-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.permission-item:last-child {
    border-bottom: none;
}

.perm-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.perm-icon.success {
    background: #d4edda;
    color: #155724;
}

.perm-icon.error {
    background: #f8d7da;
    color: #721c24;
}

.perm-icon.pending {
    background: #e2e3e5;
    color: #383d41;
}

.throbber-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}