body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f6fa;
    color: #333;
}

.title-tool,
h3,
h5 {
    color: #2b9cff;
}

.tool-container {
    display: flex;
    gap: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    background: #ffffff;
    align-items: flex-start;
}

.form-area {
    width: 48%;
}

.result-area {
    width: 52%;
    text-align: center;
}

.form-area,
.result-area {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

label {
    font-weight: 600;
    margin-top: 12px;
    display: block;
}

input,
select {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
    outline: none;
    border-color: #2b9cff;
    box-shadow: 0 0 4px rgba(43, 156, 255, 0.3);
}

button {
    border-radius: 6px;
    transition: background 0.2s;
}

button:hover {
    opacity: 0.9;
}

.canvas-box {
    border: 2px solid #2b9cff;
    border-radius: 12px;
    padding: 15px;
    background: linear-gradient(145deg, #f8f8f8, #eaeaea);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}

canvas {
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.label-line {
    margin-top: 8px;
    font-weight: 600;
    color: #2b9cff;
    font-size: 0.95rem;
}

.footer-info {
    background: #f0f4f8;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 0.88rem;
    color: #555;
}

.alert {
    border-radius: 6px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .tool-container {
        display: block;
        padding: 0;
    }
    .canvas-box {
        padding: 0;
    }
    .form-area {
        width: 100%;
    }
    .result-area {
        width: 100%;
        padding: 0px 5px;
    }
    p {
        margin-bottom: 5px;
    }
    h1.title-tool {
        font-size: 16px !important;
    }
}

button#materialDropdown {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

a.dropdown-item.blue-tem {
    color: #0d6efd;
    font-weight: 700;
}

h1.title-tool {
    font-size: 16px;
}

a.dropdown-item.blue-tem:focus {
    background: #ebebeb;
}

h2.title-tool-tem {
    font-size: 15px;
}