@charset "utf-8";
/* CSS Document */

body,td,th {
    font-family: Verdana;
    font-weight: normal;
    font-size: 1rem !important;
}
body {
    background: #f5f7fa;
    color: #333;
    margin: 20px;
}

h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
a {
    color: #dc2626;
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    text-decoration: underline;
}
button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
}
.button2 {
    background: #F72327;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    max-width: 250px;
    text-align: center;
}
.button3 {
    background: #ddd;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem !important;
}
.button4 {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    max-width: 250px;
    text-align: center;
}
.button5 a,
.button5 input[type="submit"] {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.button5 a:hover,
.button5 input[type="submit"]:hover {
    background: #1d4ed8;
}
button:hover {
    background: #1d4ed8;
}
input, select {
    padding: 6px;
    margin: 4px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.admin-item input[type="file"] {
    width: 95%;
    max-width: 95%;
}
.admin-item {
    min-width: 0;
    overflow: hidden;
}
.admin-item form {
    display: block;
    width: 100%;
}
input[type="file"] {
    font-size: 0.9rem;
}
.category-tag {
    margin-bottom: 5px;
    padding: 4px 8px;
    background: #dbeafe;
    color: #1e40af;
    display: inline-block;
    border-radius: 5px;
    font-size: 0.90rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}
.admin-item {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.admin-item:hover {
    transform: scale(1.02);
    transition: 0.2s ease;
}
.admin-item img {
    width: 100%;
    height: auto;
}
.admin-item {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 0; /* not needed in grid */
}
.admin-item {
    width: 100%;
    box-sizing: border-box;
}
.admin-gallery > * {
    width: 100%;
}
.admin-item input[type="file"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.admin-item {
    overflow: hidden;
}
.admin-item form {
    margin-top: 8px;
}
form#uploadForm,
form#multiUploadForm {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 450px;
}
.existing {
    font-size: .75rem;    
}
.footer {
    max-width: 100%;
    text-align: center;
    background-color: #2563eb;
    color: #FFFFFF;
    padding: 20px 0 20px 0;
    font-size: 0.75rem;
    margin-top: 1rem;
}
.header {
    width: 100%;
    text-align: center;
    background-color: #2563eb;
    color: #FFFFFF;
    padding: 20px 0 20px 0;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.success-message {
    color: #008000;
    background: #e8f5e9;
    border: 1px solid #4caf50;
    padding: 8px;
    margin: 10px 0;
    border-radius: 4px;
    font-weight: bold;
}
.success-check {
    color: green;
    font-size: 2rem;
}
.drop-zone {
    border: 3px dashed #999;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #f9f9f9;
    margin: 10px 0;
    transition: all 0.2s ease;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.drop-zone:hover {
    background: #f0f8ff;
    border-color: #2563eb;
}
.drop-zone.drag-over {
    background: #e6f0ff;
    border-color: #2563eb;
}
.upload-wrapper {
    text-align: center;
}
.upload-panel {
    display: inline-block;
    max-width: 450px;
    width: 100%;
    vertical-align: top;
    text-align: left;
    margin: 0 auto;
    box-sizing: border-box;
}
.admin-item input[type="checkbox"] {
    vertical-align: top;
    margin-top: 4px;
}
.inline_blocks {
    display: inline-block;
}
.error-message {
    color: #cc0000;
    font-weight: bold;
    margin-bottom: 10px;
}
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 2px;
}

.field-error {
    color: #cc0000;
    margin-top: 2px;
}

.install-success {
    color: green;
    font-weight: bold;
}
.field-help {
    font-size: .70rem;
    color: #CC0000;
    margin-top: 2px;
    padding-bottom: 12px;
}
.version {
    font-size: 0.75rem;
    font-weight: normal;
}
