html { margin-top: 0 !important; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; } 
body { margin: 0 !important; }
.bntm-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }


.bntm-content {
    box-sizing: border-box;
    width: 100%;
}

.bntm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.bntm-header h1 {
    margin: 0;
    font-size: 32px;
    color: #1f2937;
}

.bntm-back-btn {
    padding: 10px 20px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.bntm-back-btn:hover {
    background: #e5e7eb;
}

.bntm-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--bntm-primary);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.bntm-btn:hover {
    background: var(--bntm-primary-hover);
    transform: scale(1.05);
}

.bntm-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


.bntm-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 30px;
}

.bntm-tab {
    padding: 12px 24px;
    text-decoration: none;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.bntm-tab:hover {
    color: var(--bntm-primary);
}

.bntm-tab.active {
    color: var(--bntm-primary);
    border-bottom-color: var(--bntm-primary);
}

.bntm-form {
    /*max-width: 600px;*/
}

.bntm-form-group {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.bntm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    max-width: 100%;
    overflow-wrap: break-word;
}

.bntm-form-group input,
.bntm-form-group select,
.bntm-form-group date,
.bntm-form-group textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}


.bntm-form-group textarea {
    resize: vertical;
}

.bntm-form-group input[type="color"] {
    width: 60px;
    height: 40px;
    padding: 2px;
    cursor: pointer;
}

.bntm-form-group small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

.bntm-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.bntm-btn-primary {
    background: var(--bntm-primary);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.bntm-btn-primary:hover {
    background: var(--bntm-primary-hover);
}

.bntm-btn-secondary {
    background: #6b7280;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.bntm-btn-secondary:hover {
    background: #4b5563;
}

.bntm-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.bntm-table th,
.bntm-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.bntm-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.bntm-btn-small {
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    background: #f3f4f6;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.2s;
}

.bntm-btn-small:hover {
    background: #e5e7eb;
}

.bntm-btn-danger {
    background: #fee2e2;
    color: #991b1b;
}

.bntm-btn-danger:hover {
    background: #ef4444;
    color: white;
}

.bntm-notice {
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
}

.bntm-notice-success {
    background: #d1fae5;
    color: #065f46;
}

.bntm-notice-error {
    background: #fee2e2;
    color: #991b1b;
}

.bntm-form-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.bntm-form-section h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #1f2937;
}


/* Responsive */
@media (max-width: 768px) {
   
   html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important; /* Prevent right-side scroll */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
      
   .bntm-content {
       padding: 5px;
   }
.bntm-container {
    max-width: 100% !important;
    overflow-x: hidden;
}
    .bntm-container {
        padding: 20px 15px;
    }
    
    .bntm-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .bntm-header h1 {
        font-size: 24px;
    }
    
    .bntm-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .bntm-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .bntm-form-row {
        grid-template-columns: 1fr;
    }
}
