.glm-migration-form {
    max-width: 520px;
    margin: 0 auto;
    padding: 32px 36px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
}

.glm-migration-form h2 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a202c;
}

.glm-migration-form .glm-description {
    margin-top: 0;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.glm-field {
    margin-bottom: 20px;
}

.glm-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.glm-field input[type="text"] {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    color: #1a202c;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    letter-spacing: 0.04em;
}

.glm-field input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.glm-field input[type="text"]::placeholder {
    color: #a0aec0;
    letter-spacing: 0;
}

.glm-submit-wrap {
    margin-top: 8px;
}

.glm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    min-width: 160px;
}

.glm-btn:hover:not(:disabled) {
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.glm-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.glm-btn:disabled {
    background: #93c5fd;
    cursor: not-allowed;
}

.glm-result {
    margin-top: 18px;
    min-height: 0;
}

.glm-success,
.glm-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.glm-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #15803d;
}

.glm-success::before {
    content: "✓";
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1rem;
    color: #16a34a;
}

.glm-success a {
    color: #15803d;
    font-weight: 600;
    text-decoration: underline;
}

.glm-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

.glm-error::before {
    content: "!";
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1rem;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.glm-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.glm-status--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    animation: glm-pulse 1.4s ease-in-out infinite;
}

.glm-status--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

@keyframes glm-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

.glm-login-required {
    padding: 14px 18px;
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 6px;
    color: #713f12;
    font-size: 0.9rem;
}

.glm-login-required a {
    color: #92400e;
    font-weight: 600;
    text-decoration: underline;
}
