body { font-family: Arial, sans-serif; padding: 15px; background: #eef2f5; margin: 0; transition: all 0.3s ease;}
.container { max-width: 100%; margin: auto; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); box-sizing: border-box; position:relative;}
.screen-mode-bar { display: flex; gap: 5px; margin-bottom: 15px; background: #e2e6ea; padding: 5px; border-radius: 8px; justify-content: space-between; }
.mode-btn { flex: 1; padding: 8px 5px; font-size: 12px; border: none; border-radius: 5px; background: transparent; cursor: pointer; font-weight: bold; color: #555; }
.mode-btn.active { background: #fff; color: #000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
body.mode-tablet .container { max-width: 768px; padding: 20px; }
body.mode-pc .container { max-width: 1200px; padding: 30px; }
h1, h2, h3 { color: #333; margin-top: 25px; border-bottom: 2px solid #eee; padding-bottom: 5px; }
input, select, button, textarea { padding: 10px; font-size: 15px; border: 1px solid #ccc; border-radius: 5px; width: 100%; box-sizing: border-box; }
button { background: #28a745; color: white; border: none; cursor: pointer; font-weight: bold; margin-top: 5px;}
button:hover { background: #218838; }
.nav { margin-bottom: 20px; display: flex; justify-content: space-between; align-items:center; flex-wrap: wrap; gap:10px;}
.nav a { text-decoration: none; color: #007bff; font-weight: bold; background: #f8f9fa; padding: 8px 15px; border-radius: 5px;}
#loginOverlay, #profileOverlay { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.8); z-index: 9999; display: flex; justify-content: center; align-items: center; }
#profileOverlay { display:none; }
.modal-box { background: white; padding: 30px; border-radius: 10px; width: 90%; max-width: 500px; max-height:90vh; overflow-y:auto; text-align: center; }
.admin-tabs { display: flex; gap: 5px; margin-bottom: 20px; background: #343a40; padding: 5px; border-radius: 8px; flex-wrap:wrap;}
.admin-tab { flex: 1; padding: 10px; color: white; cursor: pointer; text-align: center; font-weight: bold; border-radius: 5px; min-width:100px;}
.admin-tab.active { background: #007bff; }
.tab-content { display: none; }
.tab-content.active { display: block; }
details { background: #f8f9fa; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);}
summary { background: #343a40; color: white; cursor: pointer; list-style: none; padding: 12px 15px; border-radius: 5px 5px 0 0;}
summary::-webkit-details-marker { display: none; }
.details-content { padding: 0; }
.table-responsive { width: 100%; max-height: 50vh; overflow-y: auto; overflow-x: auto; position: relative; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;}
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 700px; }
th { background: #eee; padding:10px; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #ccc; box-shadow: 0 1px 2px rgba(0,0,0,0.1);}
td { padding: 6px 10px; border: 1px solid #ddd; text-align: left; background: #fff;}
.inline-input { border: none; background: transparent; width: 100%; padding: 4px; font-size: 14px; border-bottom: 1px dashed #bbb; margin:0;}
.inline-input:focus { outline: none; border-bottom: 2px solid #007bff; background: #f0f8ff;}
.toggle-vis { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; background: #e9ecef; color: #333; padding: 4px 10px; border-radius: 15px; font-size: 13px; font-weight:normal;}
.toggle-vis input { margin: 0; cursor: pointer;}
.crm-status { padding: 4px; border-radius: 4px; font-weight: bold; border: 1px solid #ccc; font-size:13px; }
.jodit-container { margin-bottom: 15px; text-align: left; }
