/* Modern CMS with OpenAI Integration - Setup Wizard Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e4e8;
}

header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

header h2 {
    color: #7f8c8d;
    font-weight: normal;
}

/* Setup Steps */
.setup-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.setup-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e1e4e8;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 16.666%;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e1e4e8;
    color: #7f8c8d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-name {
    text-align: center;
    font-size: 12px;
    color: #7f8c8d;
}

.step.active .step-number {
    background-color: #3498db;
    color: white;
}

.step.active .step-name {
    color: #3498db;
    font-weight: bold;
}

.step.completed .step-number {
    background-color: #2ecc71;
    color: white;
}

/* Content */
.content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e4e8;
}

p {
    margin-bottom: 15px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    box-shadow: 0 1px 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.form-hint {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

button, .button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button.primary, .button.primary {
    background-color: #3498db;
    color: white;
}

button.primary:hover, .button.primary:hover {
    background-color: #2980b9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

button.secondary, .button.secondary {
    background-color: #e1e4e8;
    color: #333;
}

button.secondary:hover, .button.secondary:hover {
    background-color: #d1d5da;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

button:disabled, .button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Requirements Check */
.requirements-list {
    margin-bottom: 20px;
}

.requirement-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e1e4e8;
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-name {
    font-weight: bold;
}

.requirement-status {
    display: flex;
    align-items: center;
}

.requirement-status.success {
    color: #2ecc71;
}

.requirement-status.error {
    color: #e74c3c;
}

/* Messages */
.error-message {
    background-color: #fdecea;
    color: #e74c3c;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #e74c3c;
}

.success-message {
    background-color: #eafaf1;
    color: #2ecc71;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #2ecc71;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 20px;
    background-color: #e1e4e8;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #3498db;
    width: 0;
    transition: width 0.5s;
}

.progress-status {
    margin-top: 10px;
    font-size: 14px;
    color: #7f8c8d;
}

/* Installation Steps */
.installation-steps {
    margin-bottom: 30px;
}

.installation-step {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e1e4e8;
}

.installation-step:last-child {
    border-bottom: none;
}

.installation-step-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.installation-step-status.pending {
    background-color: #e1e4e8;
}

.installation-step-status.in-progress {
    background-color: #3498db;
    color: white;
}

.installation-step-status.completed {
    background-color: #2ecc71;
    color: white;
}

.installation-step-status.error {
    background-color: #e74c3c;
    color: white;
}

/* Footer */
footer {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 20px;
}