/**
 * Migratico Installer Styles
 * WordPress.org Compliance: External CSS file for installer
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #f0f0f1;
    color: #1d2327;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #2271b1;
    margin-bottom: 30px;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 10px;
}

h2 {
    color: #1d2327;
    margin: 20px 0 15px;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.button:hover {
    background: #135e96;
}

.button-secondary {
    background: #646970;
}

.button-secondary:hover {
    background: #50575e;
}

.error {
    background: #f0b849;
    color: #1d2327;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.warning {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success {
    background: #00a32a;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f1;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    position: relative;
}

.step.active {
    color: #2271b1;
    font-weight: 600;
}

.step.completed {
    color: #00a32a;
}

.progress-container {
    margin: 20px 0;
    background: #f0f0f1;
    border-radius: 4px;
    padding: 20px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #135e96);
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.progress-message {
    text-align: center;
    font-weight: 600;
    color: #1d2327;
    margin-top: 10px;
}

.progress-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
