﻿@charset "utf-8";

@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);

body , table, a, input, textarea, select, form, td {
    font-size: 13px;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.auth-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-input {
    width: 60px;
}

canvas {
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-btn {
    background-color: #28a745;
    color: #fff;
    margin-bottom: 15px;
}

.find-password-btn {
    background-color: #007bff;
    color: #fff;
}

button:hover {
    opacity: 0.9;
}

/* 반응형 디자인 */
@media (max-width: 600px) {
    .login-container {
        width: 90%;
        padding: 15px;
    }

    input, button {
        padding: 12px;
        font-size: 16px;
    }

    h2 {
        font-size: 24px;
    }

    .auth-container {
        flex-direction: row;
        align-items: center;
    }

    .auth-input {
        width: 60px;
    }

    canvas {
        width: 60px;
    }
}

.submenu {
    display: none;
    position: absolute;
    background-color: #444;
    padding: 10px;
    border-radius: 4px;
    white-space: nowrap;
}


.newbutton {
    background-color: #28a745 !important; /* 녹색 */
    color: white !important;
}

.deletebutton {
    background-color: #dc3545 !important; /* 빨간색 */
    color: white !important;
}

.viewbutton {
    background-color: #17a2b8 !important; /* 청록색 */
    color: white !important;
}

.editbutton {
    background-color: #ffc107 !important; /* 노란색 */
    color: black !important;
}

.backbutton {
    background-color: #6c757d !important; /* 회색 */
    color: white !important;
}