
.input-access-info-body,
.device-list-body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
}

.input-access-info-title,
.page-title,
.section-heading {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.input-access-info-form {
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-control,
.textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 10px 0;
}

.submit-button,
.button,
.button-download,
.button-encrypt,
.button-decrypt {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin: 5px 0;
}

.submit-button {
    width: 100%;
    background-color: #007bff;
    color: white;
}

.submit-button:hover,
.button:hover,
.button-download:hover {
    opacity: 0.8;
}

.button-encrypt {
    background-color: #007bff;
    color: white;
}

.button-decrypt,
.button-download {
    background-color: #28a745;
    color: white;
}

.button-decrypt:disabled,
.button-download:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.device-list-container {
    margin-bottom: 20px;
}

.device-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.device-table th,
.device-table td {
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 10px;
    text-align: left;
}

.device-table th:first-child,
.device-table td:first-child {
    border-left: 1px solid #eaeaea;
}

.device-table th:first-child,
.device-table td:first-child {
    width: 3em;
    min-width: 3em;
    max-width: 3em;
    text-align: center;
    white-space: nowrap;
}

.device-table th {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

.device-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.device-table tr:hover {
    background-color: #ecf0f1;
}

.device-table input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.all-check-label {
    font-weight: bold;
}

.date-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-range-item {
    flex: 1;
    margin-right: 20px;
}

.date-range-item:last-child {
    margin-right: 0;
}

.textarea {
    resize: vertical;
}

.error-messages,
.encrypt-messages {
    color: red;
    margin-bottom: 20px;
}

.footer {
    margin-top: 20px;
    text-align: center;
    color: #777;
}

.copy-button {
    position: absolute; 
    top: -12px;
    right: 10px;
    padding: 4px 8px;
    cursor: pointer;
    background: #ffe4e4;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.textarea-wrapper {
    position: relative;
    margin-bottom: 1em;
}

.add-command-button {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9em;
}
.add-command-button:hover {
    background: #e0e0e0;
}
.custom-command-label {
    display: inline-flex;
    align-items: center;
}

textarea#itapToken {
    background-color: #dff0ff;
}
textarea#decodeData {
    background-color: #e5ffe5;
}

/* テーブルセルの調整 */
table.JColResizer > tbody > tr > td,
table.JColResizer > tbody > tr > th {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
table.JColResizer td,
table.JColResizer th {
    white-space: normal !important;  /* 折り返しを許可 */
    word-break: break-word;          /* 単語途中でも折り返し */
}
table.JColResizer th:first-child,
table.JColResizer td:first-child {
    width: 3em !important;
    min-width: 3em !important;
    max-width: 3em !important;
    text-align: center;
    white-space: nowrap !important;
}
