﻿body {
    margin: 0;
    font-family: sans-serif;
    background: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 360px;
}

.login-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

    .input-group label {
        font-size: 14px;
        color: #333;
        margin-bottom: 6px;
    }

    .input-group input {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .input-group input:focus {
            border-color: #3498db;
            box-shadow: 0 0 5px rgba(52,152,219,0.4);
            outline: none;
        }

.login-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

    .login-btn:hover {
        background: #2980b9;
    }

.login-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}

    .login-footer a {
        color: #3498db;
        text-decoration: none;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }

/* 📱 반응형: 모바일에서는 꽉 차는 느낌 */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        justify-content: flex-start;
        background: #fff; /* 모바일은 배경 없이 박스가 화면 전체 */
    }

    .login-container {
        height: auto;
        padding: 20px;
    }

    .login-box {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
        padding: 30px 20px;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .input-group input {
        font-size: 16px;
        padding: 12px;
    }

    .login-btn {
        font-size: 16px;
        padding: 14px;
        border-radius: 8px;
    }

    .login-footer {
        margin-top: 24px;
        font-size: 14px;
    }
}
