
/* OJS OpenID Modern OAuth Form */

.cmp_form.cmp_form.oauth {
    width: 100%;
    max-width: 460px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.08),
        0 4px 10px rgba(15, 23, 42, 0.04);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

/* Heading */
.cmp_form.cmp_form.oauth h1,
.cmp_form.cmp_form.oauth h2,
.cmp_form.cmp_form.oauth legend {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    text-align: center;
}

/* Description */
.cmp_form.cmp_form.oauth p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

/* Labels */
.cmp_form.cmp_form.oauth label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* Inputs */
.cmp_form.cmp_form.oauth input[type="text"],
.cmp_form.cmp_form.oauth input[type="email"],
.cmp_form.cmp_form.oauth input[type="password"],
.cmp_form.cmp_form.oauth select,
.cmp_form.cmp_form.oauth textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.2s ease;
    margin-bottom: 18px;
    box-sizing: border-box;
}

/* Focus */
.cmp_form.cmp_form.oauth input:focus,
.cmp_form.cmp_form.oauth select:focus,
.cmp_form.cmp_form.oauth textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.cmp_form.cmp_form.oauth button,
.cmp_form.cmp_form.oauth input[type="submit"] {
    width: 100%;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

/* Hover */
.cmp_form.cmp_form.oauth button:hover,
.cmp_form.cmp_form.oauth input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* Secondary links */
.cmp_form.cmp_form.oauth a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.cmp_form.cmp_form.oauth a:hover {
    text-decoration: underline;
}

/* Messages */
.cmp_form.cmp_form.oauth .error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.cmp_form.cmp_form.oauth .success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 640px) {
    .cmp_form.cmp_form.oauth {
        margin: 20px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .cmp_form.cmp_form.oauth h1,
    .cmp_form.cmp_form.oauth h2 {
        font-size: 24px;
    }
}
