/*
 * Suseong University integrated-login common stylesheet
 * Shared by all pages in new_member, new_cert, new_gpki and new_otp.
 */

html {
    min-width: 320px;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background-color: #f8fafc;
}

.brand-gradient-btn {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
}

.brand-gradient-btn:hover {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
}

/* Replaces remote/missing placeholder images with a fully local background. */
.auth-visual-panel {
    background-color: #e2e8f0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(244, 63, 94, 0.16), transparent 32%),
        radial-gradient(circle at 82% 78%, rgba(71, 85, 105, 0.18), transparent 36%),
        linear-gradient(145deg, #f8fafc 0%, #e2e8f0 52%, #cbd5e1 100%);
}

/* Common premium footer */
footer[role="footer"] {
    width: 100%;
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid #1e293b;
}

footer[role="footer"] .footerWrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

footer[role="footer"] .info {
    padding: 3rem 0;
    border-bottom: 1px solid #1e293b;
}

footer[role="footer"] .info .footerWrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    footer[role="footer"] .info .footerWrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

footer[role="footer"] i img {
    max-height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
}

footer[role="footer"] i img:hover {
    opacity: 1;
}

footer[role="footer"] .contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-grow: 1;
}

@media (min-width: 768px) {
    footer[role="footer"] .contact {
        flex-direction: row;
        justify-content: space-between;
    }
}

footer[role="footer"] .address {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: 1.6;
}

footer[role="footer"] .address span {
    display: block;
}

footer[role="footer"] .quick-service {
    min-width: 240px;
}

footer[role="footer"] .quick-service .title {
    color: #f1f5f9;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    border-left: 3px solid #f43f5e;
    padding-left: 0.5rem;
}

footer[role="footer"] .service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

footer[role="footer"] .service-list a {
    color: #94a3b8;
    transition: color 0.2s;
}

footer[role="footer"] .service-list a:hover {
    color: #f43f5e;
    text-decoration: underline;
}

footer[role="footer"] .link {
    background-color: #0b0f19;
    padding: 1.2rem 0;
    border-bottom: 1px solid #1e293b;
}

footer[role="footer"] .link ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    footer[role="footer"] .link ul {
        justify-content: flex-start;
    }
}

footer[role="footer"] .link ul li {
    color: #475569;
}

footer[role="footer"] .link ul li a {
    color: #cbd5e1;
    transition: color 0.2s;
}

footer[role="footer"] .link ul li a:hover {
    color: #f43f5e;
}

footer[role="footer"] .link ul li a.re_a {
    color: #f43f5e;
    font-weight: 700;
}

footer[role="footer"] .copyright {
    background-color: #0b0f19;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}
